chore(legacy): fake handling emulator reset to bootloader

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

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

Loading…
Cancel
Save