Fix unused function warning in main
* Add SD card test to fix warning
This commit is contained in:
parent
8592d85b36
commit
bfb01e9da6
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user