mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
fix: add wrtie_force to reboot_to_bootloader
[no changelog]
This commit is contained in:
parent
059f3a2f00
commit
2eab12e3e6
@ -89,7 +89,7 @@ async def reboot_to_bootloader(msg: RebootToBootloader) -> NoReturn:
|
||||
boot_args = None
|
||||
|
||||
ctx = get_context()
|
||||
await ctx.write(Success(message="Rebooting"))
|
||||
await ctx.write_force(Success(message="Rebooting"))
|
||||
# make sure the outgoing USB buffer is flushed
|
||||
await loop.wait(ctx.iface.iface_num() | io.POLL_WRITE)
|
||||
# reboot to the bootloader, pass the firmware header hash if any
|
||||
|
Loading…
Reference in New Issue
Block a user