1
0
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:
Ondrej Mikle 2021-02-26 15:22:32 +01:00 committed by Pavol Rusnak
parent 18a05d467e
commit d0b630abfc
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 1 deletions

View File

@ -409,7 +409,7 @@ message CancelAuthorization {
/**
* Request: Reboot firmware to bootloader
* @start
* Can't have response.
* @next Success
*/
message RebootToBootloader {
}

View File

@ -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