Some improvements

This commit is contained in:
3djc
2020-04-29 12:05:25 +02:00
parent 3d9256e555
commit 5d0805c665
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ bool menuRadioDiagAnalogs(event_t event)
#endif
}
#if (NUM_PWMSTICKS > 0) || defined(SIMU)
#if defined(SIMU) || NUM_PWMSTICKS > 0
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP + 8 * FH, STICKS_PWM_ENABLED() ? "Sticks: PWM" : "Sticks: ANA");
#endif
+1 -1
View File
@@ -415,7 +415,7 @@ bool menuRadioHardware(event_t event)
if (menuHorizontalPosition == 0)
pushMenu(menuRadioDiagAnalogs);
else
pushMenu(menuRadioDiagKeys);break;
pushMenu(menuRadioDiagKeys);
}
break;
}
+2 -1
View File
@@ -91,8 +91,9 @@ void drawTopBar()
/* Tx battery */
uint8_t bars = GET_TXBATT_BARS(5);
#if defined(USB_CHARGER)
if (usbChargerLed() && BLINK_ON_PHASE)
if (usbChargerLed() && BLINK_ON_PHASE) {
lcdDrawBitmapPattern(LCD_W-130, 24, LBM_TOPMENU_TXBATT_CHARGING, MENU_TITLE_COLOR);
}
else {
#endif
lcdDrawBitmapPattern(LCD_W - 130, 24, LBM_TOPMENU_TXBATT, MENU_TITLE_COLOR);