summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-11-12 11:23:44 +0000
committerDave Chapman <dave@dchapman.com>2008-11-12 11:23:44 +0000
commitc8d0a6522ed8af11e4de0d9278ba170d546067d6 (patch)
tree7d5760a7e27daa4d6d2a2136bd2db9ca6fbe2481 /firmware
parent1600e4918e45e4deb4e34dc1765c2d9ac28daf8c (diff)
Assume that AS3514_I2C_ADDR is not target-specific. If it turns out to be different to 0x46 in a future target, then perhaps move this definition into the ascodec-target.h files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19100 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/as3514.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index 5ae813ca0b..edaedd5157 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -102,9 +102,7 @@ extern void audiohw_set_sample_rate(int sampling_control);
#define ADC_UNREG_POWER ADC_BVDD /* For compatibility */
-#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \
- || CONFIG_CPU == AS3525
+
#define AS3514_I2C_ADDR 0x46
-#endif
#endif /* _AS3514_H */