mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
chore(legacy): fake handling emulator reset to bootloader
This commit is contained in:
parent
2dccbf99d4
commit
18a05d467e
@ -61,6 +61,10 @@
|
|||||||
#include "stellar.h"
|
#include "stellar.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if EMULATOR
|
||||||
|
#include <stdio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// message methods
|
// message methods
|
||||||
|
|
||||||
static uint8_t msg_resp[MSG_OUT_SIZE] __attribute__((aligned));
|
static uint8_t msg_resp[MSG_OUT_SIZE] __attribute__((aligned));
|
||||||
@ -304,6 +308,8 @@ static bool fsm_layoutAddress(const char *address, const char *desc,
|
|||||||
void fsm_msgRebootToBootloader(void) {
|
void fsm_msgRebootToBootloader(void) {
|
||||||
#if !EMULATOR
|
#if !EMULATOR
|
||||||
svc_reboot_to_bootloader();
|
svc_reboot_to_bootloader();
|
||||||
|
#else
|
||||||
|
printf("Reboot!\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user