sdmmc: Streamline power cycle wait for Sandisks U1

This commit is contained in:
CTCaer committed 2019-08-28 02:39:43 +03:00
1 parent c50e61f961
commit 02826dd9a6
8 files changed
+34 -14

No files matched your search

+3
View File
@@ -293,6 +293,9 @@ lv_res_t launch_payload(lv_obj_t *list)
void (*ext_payload_ptr)() = (void *)EXT_PAYLOAD_ADDR;
// Some cards (Sandisk U1), do not like a fast power cycle. Wait min 100ms.
sdmmc_storage_init_wait_sd();
// Launch our payload.
(*ext_payload_ptr)();
}