[FL-2654] Updater: retrying pre-boot SD card mount multiple times (#1402)
* Updater: retrying pre-boot SD card mount multiple times * Updater: added delay before retrying SD card mount on early boot Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		| @@ -26,8 +26,7 @@ static FS_Error storage_ext_parse_error(SDError error); | ||||
|  | ||||
| static bool sd_mount_card(StorageData* storage, bool notify) { | ||||
|     bool result = false; | ||||
|     const uint8_t max_init_counts = 10; | ||||
|     uint8_t counter = max_init_counts; | ||||
|     uint8_t counter = BSP_SD_MaxMountRetryCount(); | ||||
|     uint8_t bsp_result; | ||||
|     SDData* sd_data = storage->data; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user