1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

chore(legacy): fake handling emulator reset to bootloader

This commit is contained in:
Ondrej Mikle 2021-02-25 14:05:23 +01:00 committed by Pavol Rusnak
parent 2dccbf99d4
commit 18a05d467e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -61,6 +61,10 @@
#include "stellar.h"
#endif
#if EMULATOR
#include <stdio.h>
#endif
// message methods
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) {
#if !EMULATOR
svc_reboot_to_bootloader();
#else
printf("Reboot!\n");
#endif
}