|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
#include "stm32f4xx_ll_utils.h"
|
|
|
|
|
|
|
|
|
|
// from util.s
|
|
|
|
|
extern void shutdown(void);
|
|
|
|
|
extern void shutdown_privileged(void);
|
|
|
|
|
|
|
|
|
|
#define COLOR_FATAL_ERROR RGB16(0x7F, 0x00, 0x00)
|
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ __fatal_error(const char *expr, const char *msg, const char *file, int line,
|
|
|
|
|
rev[4]);
|
|
|
|
|
#endif
|
|
|
|
|
display_printf("\nPlease contact Trezor support.\n");
|
|
|
|
|
shutdown();
|
|
|
|
|
shutdown_privileged();
|
|
|
|
|
for (;;)
|
|
|
|
|
;
|
|
|
|
|
}
|
|
|
|
@ -107,7 +107,7 @@ error_shutdown(const char *line1, const char *line2, const char *line3,
|
|
|
|
|
display_printf("\nPlease unplug the device.\n");
|
|
|
|
|
#endif
|
|
|
|
|
display_backlight(255);
|
|
|
|
|
shutdown();
|
|
|
|
|
shutdown_privileged();
|
|
|
|
|
for (;;)
|
|
|
|
|
;
|
|
|
|
|
}
|
|
|
|
|