summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-04-12 10:25:49 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-04-12 10:25:49 +0000
commit8a2187136f1f7e48693ca8369c82fb77a02cd500 (patch)
treebd2bb98f2b75112e79ce88ff05191e4d0e01960f /firmware
parent2349cf5f44dac501a7cabba9c30a1734cb40f6f7 (diff)
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25602 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 1b6e72dd91..baf69760ab 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -906,8 +906,14 @@ int sd_write_sectors(IF_MD2(int drive,) unsigned long start, int count,
return -1;
#else
//return sd_transfer_sectors(IF_MD2(drive,) start, count, (void*)buf, true);
- return -1; /* not working, seems to cause FIFO overruns */
+#ifdef HAVE_MULTIDRIVE
+ (void)drive;
#endif
+ (void)start;
+ (void)count;
+ (void)buf;
+ return -1; /* not working, seems to cause FIFO overruns */
+#endif /* defined(BOOTLOADER) */
}
#ifndef BOOTLOADER