1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 11:58:13 +00:00

Fix rebase.

This commit is contained in:
andrew 2019-02-08 16:56:36 +01:00 committed by Pavol Rusnak
parent 05f3b74b65
commit 3c05a2da12
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -38,7 +38,7 @@ void __attribute__((noreturn)) __fatal_error(const char *expr, const char *msg,
oledClear();
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)");
oledDrawString(0, y, line, FONT_STANDARD);