summaryrefslogtreecommitdiff
path: root/firmware/drivers/adc.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/adc.h')
-rw-r--r--firmware/drivers/adc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/adc.h b/firmware/drivers/adc.h
index 1ff5118238..0c05f4d0f8 100644
--- a/firmware/drivers/adc.h
+++ b/firmware/drivers/adc.h
@@ -40,6 +40,8 @@
40#define BATTERY_SCALE_FACTOR 6546 40#define BATTERY_SCALE_FACTOR 6546
41#endif 41#endif
42 42
43#define EXT_SCALE_FACTOR 14800
44
43unsigned short adc_read(int channel); 45unsigned short adc_read(int channel);
44void adc_init(void); 46void adc_init(void);
45 47