[Taranis] Asterisk icon when WDT is disabled or TELEMETRY_LOGGING enabled
This commit is contained in:
@@ -245,10 +245,15 @@ void displayTopBar()
|
|||||||
|
|
||||||
/* Notifs icons */
|
/* Notifs icons */
|
||||||
coord_t x = BAR_NOTIFS_X;
|
coord_t x = BAR_NOTIFS_X;
|
||||||
|
#if defined(TELEMETRY_LOGS) || defined(WATCHDOG_DISABLED)
|
||||||
|
LCD_NOTIF_ICON(x, ICON_REBOOT);
|
||||||
|
x -= 12;
|
||||||
|
#else
|
||||||
if (unexpectedShutdown) {
|
if (unexpectedShutdown) {
|
||||||
LCD_NOTIF_ICON(x, ICON_REBOOT);
|
LCD_NOTIF_ICON(x, ICON_REBOOT);
|
||||||
x -= 12;
|
x -= 12;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (usbPlugged()) {
|
if (usbPlugged()) {
|
||||||
LCD_NOTIF_ICON(x, ICON_USB);
|
LCD_NOTIF_ICON(x, ICON_USB);
|
||||||
|
|||||||
Reference in New Issue
Block a user