Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment