summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sd-as3525v2.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-09-24 11:21:01 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-09-24 11:21:01 +0000
commitf323300b82aa945dd4cadb20d8d7e23a6602ef49 (patch)
tree11d63f42fd226e98d809a88789a12001619cc647 /firmware/target/arm/as3525/sd-as3525v2.c
parent1322b58b17201ba70d35e6121ddaa87c0dceaf5b (diff)
downloadrockbox-f323300b82aa945dd4cadb20d8d7e23a6602ef49.tar.gz
rockbox-f323300b82aa945dd4cadb20d8d7e23a6602ef49.tar.bz2
rockbox-f323300b82aa945dd4cadb20d8d7e23a6602ef49.zip
Sansa clipzip: make main build compile (plugins still disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 8134869c1e..7410b19550 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -378,6 +378,9 @@ static inline bool card_detect_target(void)
return GPIOA_PIN(2);
#elif defined(SANSA_CLIPPLUS)
return !(GPIOA_PIN(2));
+#elif defined(SANSA_CLIPZIP)
+ /* TODO for ClipZip: determine polarity of uSD detect */
+ return false;
#else
#error "microSD pin not defined for your target"
#endif