diff options
-rw-r--r-- | firmware/drivers/adc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/drivers/adc.h b/firmware/drivers/adc.h index 61a5952174..9785f8fdef 100644 --- a/firmware/drivers/adc.h +++ b/firmware/drivers/adc.h @@ -30,6 +30,12 @@ #define ADC_UNREG_POWER 6 #define ADC_EXT_POWER 7 +#ifdef ARCHOS_RECORDER +#define BATTERY_SCALE_FACTOR 6465 +#else +#define BATTERY_SCALE_FACTOR 6546 +#endif + unsigned short adc_read(int channel); void adc_init(void); |