[X9D] SD support

This commit is contained in:
bsongis
2013-01-07 18:35:24 +00:00
parent 8123713372
commit 5cb5ee0111
60 changed files with 939 additions and 26493 deletions
+3 -2
View File
@@ -74,17 +74,18 @@ inline const pm_char *SDCARD_ERROR(FRESULT result)
#if defined(SIMU)
#define sdMountPoll()
#define sdPoll10ms()
#else
extern void sdMountPoll();
#endif
#if defined(CPUARM) && !(defined(SIMU))
#if defined(CPUARM) && !defined(SIMU)
extern "C" {
extern uint32_t sd_card_ready();
extern uint32_t sd_card_mounted();
}
#else
#define sd_card_ready() (true)
#define sd_card_ready() (true)
#define sd_card_mounted() (true)
#endif