@@ -3019,24 +3019,14 @@ static bool osdDrawSingleElement(uint8_t item)
30193019 }
30203020 case OSD_TPA_TIME_CONSTANT :
30213021 {
3022- /* char buff[7];
3023- textAttributes_t attr;
3024-
3025- if (isAdjustmentFunctionSelected(ADJUSTMENT_FW_TPA_TIME_CONSTANT)) {
3026- displayWrite(osdDisplayPort, elemPosX, elemPosY, "TC OK");
3027- } else {
3028- displayWrite(osdDisplayPort, elemPosX, elemPosY, "TPA TC");
3029- }
3030-
3031- attr = TEXT_ATTRIBUTES_NONE;
3032- tfp_sprintf(buff, "%4d", currentControlRateProfile->throttle.fixedWingTauMs);
3033- if (isAdjustmentFunctionSelected(ADJUSTMENT_FW_TPA_TIME_CONSTANT)) {
3034- TEXT_ATTRIBUTES_ADD_BLINK(attr);
3035- }
3036- displayWriteWithAttr(osdDisplayPort, elemPosX + 7, elemPosY, buff, attr);*/
30373022 osdDisplayAdjustableDecimalValue (elemPosX , elemPosY , "TPA TC" , 0 , currentControlRateProfile -> throttle .fixedWingTauMs , 4 , 0 , ADJUSTMENT_FW_TPA_TIME_CONSTANT );
30383023 return true;
30393024 }
3025+ case OSD_FW_LEVEL_TRIM :
3026+ {
3027+ osdDisplayAdjustableDecimalValue (elemPosX , elemPosY , "LEVEL" , 0 , pidProfileMutable ()-> fixedWingLevelTrim , 3 , 1 , ADJUSTMENT_FW_LEVEL_TRIM );
3028+ return true;
3029+ }
30403030
30413031 case OSD_NAV_FW_CONTROL_SMOOTHNESS :
30423032 osdDisplayAdjustableDecimalValue (elemPosX , elemPosY , "CTL S" , 0 , navConfig ()-> fw .control_smoothness , 1 , 0 , ADJUSTMENT_NAV_FW_CONTROL_SMOOTHNESS );
0 commit comments