The fan driver change ensures power off in any situation where a chainload software re-enables the 5V regulator.
This commit is contained in:
CTCaer
2020-03-21 22:28:50 +02:00
parent 976925c697
commit 9c6931a17c
6 changed files with 13 additions and 7 deletions

View File

@@ -300,6 +300,7 @@ static int _dump_emmc_verify(emmc_tool_gui_t *gui, sdmmc_storage_t *storage, u32
sdFileSector += num;
sparseShouldVerify++;
// Check for cancellation combo.
btn = btn_wait_timeout(0, BTN_VOL_DOWN | BTN_VOL_UP);
if ((btn & BTN_VOL_DOWN) && (btn & BTN_VOL_UP))
{
@@ -660,6 +661,7 @@ static int _dump_emmc_part(emmc_tool_gui_t *gui, char *sd_path, sdmmc_storage_t
bytesWritten = 0;
}
// Check for cancellation combo.
btn = btn_wait_timeout(0, BTN_VOL_DOWN | BTN_VOL_UP);
if ((btn & BTN_VOL_DOWN) && (btn & BTN_VOL_UP))
{