summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/adc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/adc.h b/firmware/export/adc.h
index cbc40e2662..966714cbbd 100644
--- a/firmware/export/adc.h
+++ b/firmware/export/adc.h
@@ -23,8 +23,7 @@
23 23
24#ifdef HAVE_ONDIO_ADC 24#ifdef HAVE_ONDIO_ADC
25 25
26#define ADC_MMC_SWITCH 0 /* Battery voltage always reads 0x3FF due to 26#define ADC_MMC_SWITCH 0 /* low values if MMC inserted */
27 silly scaling */
28#define ADC_USB_POWER 1 /* USB, reads 0x000 when USB is inserted */ 27#define ADC_USB_POWER 1 /* USB, reads 0x000 when USB is inserted */
29#define ADC_BUTTON_OPTION 2 /* the option button, low value if pressed */ 28#define ADC_BUTTON_OPTION 2 /* the option button, low value if pressed */
30#define ADC_BUTTON_ONOFF 3 /* the on/off button, high value if pressed */ 29#define ADC_BUTTON_ONOFF 3 /* the on/off button, high value if pressed */