File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,15 @@ def adb_reboot_bootloader(bin_path: Path) -> bool:
7373 yield False
7474 return
7575 sleep (1 )
76- # check if in fastboot mode
77- for line in run_command ("fastboot" , ["devices" ], bin_path ):
78- yield line
79- if (type (line ) == bool ) and not line :
80- logger .error ("No fastboot mode detected. Reboot into bootloader failed." )
81- yield False
82- else :
83- yield True
76+ yield True
77+ # TODO: check if in fastboot mode
78+ # for line in run_command("fastboot", ["devices"], bin_path):
79+ # yield line
80+ # if (type(line) == bool) and not line:
81+ # logger.error("No fastboot mode detected. Reboot into bootloader failed.")
82+ # yield False
83+ # else:
84+ # yield True
8485
8586
8687def adb_reboot_download (bin_path : Path ) -> bool :
You can’t perform that action at this time.
0 commit comments