chore(legacy): return code for reboot call

pull/1461/head
Ondrej Mikle 3 years ago committed by Pavol Rusnak
parent 18a05d467e
commit d0b630abfc
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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…
Cancel
Save