Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Transponder ON Btn Display Cond to Match ON_btn_Click Definition #3248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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