summaryrefslogtreecommitdiff
path: root/firmware/export/as3514.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-10 21:10:27 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-10 21:10:27 +0000
commit79e56a741018d11abfd944a9c2f1b9a0f47e1f2e (patch)
tree3fe998548b8212aac7b3d59fc7b9834f20ade6bd /firmware/export/as3514.h
parentc48001b17243fc3356de2f315a6753fd1f4d5e2f (diff)
downloadrockbox-79e56a741018d11abfd944a9c2f1b9a0f47e1f2e.tar.gz
rockbox-79e56a741018d11abfd944a9c2f1b9a0f47e1f2e.zip
as3514: do not error out if included by files which don't use AS3514_I2C_ADDR
If the model is unknown and try to use it, the build will fail anyway because it will not be defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19079 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3514.h')
-rw-r--r--firmware/export/as3514.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index f3c5c616eb..aa71606381 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -103,8 +103,6 @@ extern void audiohw_set_sample_rate(int sampling_control);
103#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \ 103#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \
104 || CONFIG_CPU == AS3525 104 || CONFIG_CPU == AS3525
105#define AS3514_I2C_ADDR 0x46 105#define AS3514_I2C_ADDR 0x46
106#else
107#error Unknown target!
108#endif 106#endif
109 107
110#endif /* _AS3514_H */ 108#endif /* _AS3514_H */