mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
chore(legacy): return code for reboot call
This commit is contained in:
parent
18a05d467e
commit
d0b630abfc
@ -409,7 +409,7 @@ message CancelAuthorization {
|
||||
/**
|
||||
* Request: Reboot firmware to bootloader
|
||||
* @start
|
||||
* Can't have response.
|
||||
* @next Success
|
||||
*/
|
||||
message RebootToBootloader {
|
||||
}
|
||||
|
@ -306,6 +306,7 @@ static bool fsm_layoutAddress(const char *address, const char *desc,
|
||||
}
|
||||
|
||||
void fsm_msgRebootToBootloader(void) {
|
||||
fsm_sendSuccess("You are being rebooted");
|
||||
#if !EMULATOR
|
||||
svc_reboot_to_bootloader();
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user