1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 03:48:09 +00:00
trezor-firmware/micropython/unix/common.c
2017-04-17 18:56:08 +02:00

11 lines
195 B
C

#include <stdio.h>
#include <stdlib.h>
#include "common.h"
void __attribute__((noreturn)) __fatal_error(const char *msg) {
printf("FATAL ERROR:\n");
printf("%s\n", msg);
exit(1);
}