Some improvements
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -415,7 +415,7 @@ bool menuRadioHardware(event_t event)
|
||||
if (menuHorizontalPosition == 0)
|
||||
pushMenu(menuRadioDiagAnalogs);
|
||||
else
|
||||
pushMenu(menuRadioDiagKeys);break;
|
||||
pushMenu(menuRadioDiagKeys);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user