Fixed: compilation if SIMU_DISKIO = ON (#5723)

This commit is contained in:
Alexander Novikov
2018-03-25 09:39:17 +02:00
committed by Bertrand Songis
parent b00c4e30d0
commit 6e756c434a
6 changed files with 30 additions and 15 deletions
+8 -4
View File
@@ -465,10 +465,14 @@ inline void delay_01us(int dummy) { }
#define SIMU_USE_SDCARD
#endif
#define sdMountPoll()
#define sdPoll10ms()
#define sd_card_ready() (true)
#if !defined(SIMU_DISKIO)
#if defined(SIMU_DISKIO)
uint32_t sdMounted();
#define sdPoll10ms()
void sdInit(void);
void sdDone(void);
#else
#define sdPoll10ms()
uint32_t sdMounted(void);
#define sdMounted() (true)
#endif