summaryrefslogtreecommitdiff
path: root/firmware/export/as3514.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-10 21:40:30 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-10 21:40:30 +0000
commit527a1dbc70c7445cdc1fcce34709c87e440b7cf1 (patch)
tree8568890a135f46b93f6f8cf09b5939920f1ea56b /firmware/export/as3514.h
parent79e56a741018d11abfd944a9c2f1b9a0f47e1f2e (diff)
downloadrockbox-527a1dbc70c7445cdc1fcce34709c87e440b7cf1.tar.gz
rockbox-527a1dbc70c7445cdc1fcce34709c87e440b7cf1.zip
Fix red: e200/c200 use ADC_UNREG_POWER define (for compatibility)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3514.h')
-rw-r--r--firmware/export/as3514.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index aa71606381..5ae813ca0b 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -100,6 +100,8 @@ extern void audiohw_set_sample_rate(int sampling_control);
100#define ADC_I_MICSUP2 11 /* Current of MicSup2 for remote control detection */ 100#define ADC_I_MICSUP2 11 /* Current of MicSup2 for remote control detection */
101#define ADC_VBAT 12 /* Single cell battery voltage */ 101#define ADC_VBAT 12 /* Single cell battery voltage */
102 102
103#define ADC_UNREG_POWER ADC_BVDD /* For compatibility */
104
103#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \ 105#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \
104 || CONFIG_CPU == AS3525 106 || CONFIG_CPU == AS3525
105#define AS3514_I2C_ADDR 0x46 107#define AS3514_I2C_ADDR 0x46