Skip to content

Conversation

@divsa
Copy link

@divsa divsa commented Nov 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant