From c8d0a6522ed8af11e4de0d9278ba170d546067d6 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Wed, 12 Nov 2008 11:23:44 +0000 Subject: 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 --- firmware/export/as3514.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/export') 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 */ -- cgit v1.2.3