From 295367686ec9855c4d90f68a6003e819fef8e7ab Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Fri, 29 Dec 2006 02:49:12 +0000 Subject: merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/gigabeat/meg-fx/adc-target.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/gigabeat/meg-fx/adc-target.h') diff --git a/firmware/target/arm/gigabeat/meg-fx/adc-target.h b/firmware/target/arm/gigabeat/meg-fx/adc-target.h index 8ea02b33e6..8d2beaf320 100644 --- a/firmware/target/arm/gigabeat/meg-fx/adc-target.h +++ b/firmware/target/arm/gigabeat/meg-fx/adc-target.h @@ -19,12 +19,19 @@ #ifndef _ADC_TARGET_H_ #define _ADC_TARGET_H_ -#define NUM_ADC_CHANNELS 4 +/* only two channels used by the Gigabeat */ +#define NUM_ADC_CHANNELS 2 #define ADC_BATTERY 0 -#define ADC_UNKNOWN_2 1 +#define ADC_HPREMOTE 1 #define ADC_UNKNOWN_3 2 #define ADC_UNKNOWN_4 3 +#define ADC_UNKNOWN_5 4 +#define ADC_UNKNOWN_6 5 +#define ADC_UNKNOWN_7 6 +#define ADC_UNKNOWN_8 7 + #define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */ +#define ADC_READ_ERROR 0xFFFF #endif -- cgit v1.2.3