[sky9x] Massstorage again!
[sky9x] More SD cards allowed [X9D] Makefile for simu with 192x64 LCD
This commit is contained in:
+8
-11
@@ -68,19 +68,16 @@ inline const pm_char *SDCARD_ERROR(FRESULT result)
|
||||
return STR_SDCARD_ERROR;
|
||||
}
|
||||
|
||||
// TODO move the ARM function definition here (when cpp)
|
||||
extern void sdPoll10mS();
|
||||
|
||||
#if defined(PCBARM) && !(defined(SIMU))
|
||||
extern "C" {
|
||||
extern uint32_t sd_card_ready();
|
||||
extern uint32_t sd_card_mounted();
|
||||
}
|
||||
#if defined(PCBARM)
|
||||
void sdInit();
|
||||
void sdLoad();
|
||||
void usbMassStorage();
|
||||
bool sdIsHC();
|
||||
#else
|
||||
#define sd_card_ready() (true)
|
||||
#define sd_card_mounted() (true)
|
||||
void sdPoll10mS();
|
||||
#define sdIsHC() 0
|
||||
#define CardIsMounted() (true)
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user