1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-11 02:19:21 +00:00
trezor-firmware/micropython/unix/common.c

11 lines
195 B
C
Raw Normal View History

#include <stdio.h>
#include <stdlib.h>
#include "common.h"
void __attribute__((noreturn)) __fatal_error(const char *msg) {
printf("FATAL ERROR:\n");
2017-04-17 16:56:08 +00:00
printf("%s\n", msg);
exit(1);
}