summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/adc-target.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/adc-target.h b/firmware/target/arm/gigabeat/meg-fx/adc-target.h
index a3ee59b..8ea02b3 100644
--- a/firmware/target/arm/gigabeat/meg-fx/adc-target.h
+++ b/firmware/target/arm/gigabeat/meg-fx/adc-target.h
@@ -19,4 +19,12 @@
#ifndef _ADC_TARGET_H_
#define _ADC_TARGET_H_
+#define NUM_ADC_CHANNELS 4
+
+#define ADC_BATTERY 0
+#define ADC_UNKNOWN_2 1
+#define ADC_UNKNOWN_3 2
+#define ADC_UNKNOWN_4 3
+#define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */
+
#endif