Commit bfb01e9d authored by mux's avatar mux
Browse files

Fix unused function warning in main

* Add SD card test to fix warning
parent 8592d85b
......@@ -206,12 +206,14 @@ static mp_obj_t pyb_info(void) {
return mp_const_none;
}
#if MICROPY_HW_HAS_SDCARD
// SD card test
static mp_obj_t pyb_sd_test(void) {
extern void sdio_init(void);
sdio_init();
return mp_const_none;
}
#endif
static void SYSCLKConfig_STOP(void) {
/* After wake-up from STOP reconfigure the system clock */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment