MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Fix Transponder ON Btn Display Cond to Match ON_btn_Click Definition

Open divsa opened this issue 2 years ago • 0 comments

The ON_btn_Click function correctly turns Mode C off; but the check for which mode the transponder is currently in wrongly assumes that Mode S must be off. To reproduce the bug this causes,

  • Connect to a transponder and set the mode to ON -> The mode text turns bold.
  • Click Away from Mission Planner and the mode text will return to regular.
  • This is not the case when you set the mode to be STBY or ALT.

To fix, I changed the condition check to match the definition.

divsa avatar Nov 30 '23 18:11 divsa