summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sd-as3525v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-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