hekate/nyx: utilize emmc_end

This commit is contained in:
CTCaer
2022-10-11 04:19:29 +03:00
parent 07695196cb
commit 5392971c2c
13 changed files with 31 additions and 33 deletions

View File

@@ -221,7 +221,7 @@ static void _create_mbox_emummc_raw()
u32 emmc_size_safe = emmc_storage.sec_cnt + 0xC000; // eMMC GPP size + BOOT0/1.
sdmmc_storage_end(&emmc_storage);
emmc_end();
for (int i = 1; i < 4; i++)
{
@@ -838,7 +838,7 @@ static lv_res_t _create_mbox_emummc_migrate(lv_obj_t *btn)
backup = backup && rawnand_backup;
sd_unmount();
sdmmc_storage_end(&emmc_storage);
emmc_end();
// Check available types and enable the corresponding buttons.
if (backup)