mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-16 17:42:02 +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
|
* Request: Reboot firmware to bootloader
|
||||||
* @start
|
* @start
|
||||||
* Can't have response.
|
* @next Success
|
||||||
*/
|
*/
|
||||||
message RebootToBootloader {
|
message RebootToBootloader {
|
||||||
}
|
}
|
||||||
|
@ -306,6 +306,7 @@ static bool fsm_layoutAddress(const char *address, const char *desc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void fsm_msgRebootToBootloader(void) {
|
void fsm_msgRebootToBootloader(void) {
|
||||||
|
fsm_sendSuccess("You are being rebooted");
|
||||||
#if !EMULATOR
|
#if !EMULATOR
|
||||||
svc_reboot_to_bootloader();
|
svc_reboot_to_bootloader();
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user