diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-08-22 21:30:30 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-08-22 21:30:30 +0000 |
commit | 35d0770e8a4ec2409576278f82e99f0a9a911c41 (patch) | |
tree | da4a5d5a5d6bfb65fb56c5303446e89034bc9c41 /firmware/target/arm | |
parent | 5e7129b0c7bc39f9eddfc8c0e3341506fa5f90af (diff) | |
download | rockbox-35d0770e8a4ec2409576278f82e99f0a9a911c41.tar.gz rockbox-35d0770e8a4ec2409576278f82e99f0a9a911c41.zip |
Gigabeat also needs ADC_UNREG_POWER defined to avoid compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10703 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/gigabeat/meg-fx/adc-target.h | 8 |
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 a3ee59bc00..8ea02b33e6 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 @@ | |||
19 | #ifndef _ADC_TARGET_H_ | 19 | #ifndef _ADC_TARGET_H_ |
20 | #define _ADC_TARGET_H_ | 20 | #define _ADC_TARGET_H_ |
21 | 21 | ||
22 | #define NUM_ADC_CHANNELS 4 | ||
23 | |||
24 | #define ADC_BATTERY 0 | ||
25 | #define ADC_UNKNOWN_2 1 | ||
26 | #define ADC_UNKNOWN_3 2 | ||
27 | #define ADC_UNKNOWN_4 3 | ||
28 | #define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */ | ||
29 | |||
22 | #endif | 30 | #endif |