|
|
|
@ -4,8 +4,6 @@
|
|
|
|
|
#include "display.h"
|
|
|
|
|
#include "rng.h"
|
|
|
|
|
|
|
|
|
|
void shutdown(void);
|
|
|
|
|
|
|
|
|
|
void __attribute__((noreturn)) __fatal_error(const char *expr, const char *msg, const char *file, int line, const char *func) {
|
|
|
|
|
display_orientation(0);
|
|
|
|
|
display_backlight(255);
|
|
|
|
@ -28,7 +26,6 @@ void __attribute__((noreturn)) __fatal_error(const char *expr, const char *msg,
|
|
|
|
|
#define STR(s) #s
|
|
|
|
|
display_printf("rev : %s\n", XSTR(GITREV));
|
|
|
|
|
#endif
|
|
|
|
|
clear_otg_hs_memory();
|
|
|
|
|
shutdown();
|
|
|
|
|
for (;;);
|
|
|
|
|
}
|
|
|
|
|