mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-27 18:32:34 +00:00
Fix rebase.
This commit is contained in:
parent
05f3b74b65
commit
3c05a2da12
2
common.c
2
common.c
@ -38,7 +38,7 @@ void __attribute__((noreturn)) __fatal_error(const char *expr, const char *msg,
|
|||||||
oledClear();
|
oledClear();
|
||||||
|
|
||||||
oledDrawBitmap(0, 0, icon);
|
oledDrawBitmap(0, 0, icon);
|
||||||
oledDrawStringCenter((icon->height - FONT_HEIGHT)/2 + 1, "FATAL ERROR", FONT_STANDARD);
|
oledDrawStringCenter(OLED_WIDTH / 2, (icon->height - FONT_HEIGHT)/2 + 1, "FATAL ERROR", FONT_STANDARD);
|
||||||
|
|
||||||
snprintf(line, sizeof(line), "Expr: %s", expr ? expr : "(null)");
|
snprintf(line, sizeof(line), "Expr: %s", expr ? expr : "(null)");
|
||||||
oledDrawString(0, y, line, FONT_STANDARD);
|
oledDrawString(0, y, line, FONT_STANDARD);
|
||||||
|
Loading…
Reference in New Issue
Block a user