Display stick type when applicable
This commit is contained in:
@@ -127,4 +127,8 @@ void menuRadioDiagAnalogs(event_t event)
|
|||||||
if (menuVerticalPosition==TEMP_CALIB_MENU_POS)
|
if (menuVerticalPosition==TEMP_CALIB_MENU_POS)
|
||||||
CHECK_INCDEC_GENVAR(event, g_eeGeneral.temperatureCalib, -100, 100);
|
CHECK_INCDEC_GENVAR(event, g_eeGeneral.temperatureCalib, -100, 100);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (NUM_PWMSTICKS > 0) && !defined(SIMU)
|
||||||
|
lcdDrawTextAlignedLeft(7*FH, STICKS_PWM_ENABLED() ? "Sticks: PWM" : "Sticks: ANA");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,6 +185,10 @@ bool menuStatsAnalogs(event_t event)
|
|||||||
lcdDrawNumber(LCD_W/2 + MENUS_MARGIN_LEFT+100, MENU_CONTENT_TOP+7*FH, telemetryData.xjtVersion);
|
lcdDrawNumber(LCD_W/2 + MENUS_MARGIN_LEFT+100, MENU_CONTENT_TOP+7*FH, telemetryData.xjtVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (NUM_PWMSTICKS > 0) && !defined(SIMU)
|
||||||
|
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP+8*FH, STICKS_PWM_ENABLED() ? "Sticks: PWM" : "Sticks: ANA");
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user