Fix rebase.

pull/25/head
andrew 5 years ago committed by Pavol Rusnak
parent 05f3b74b65
commit 3c05a2da12
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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);

Loading…
Cancel
Save