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 DTCS test and three drivers #1100

Merged
merged 6 commits into from
Aug 31, 2024
Merged

Fix DTCS test and three drivers #1100

merged 6 commits into from
Aug 31, 2024

Conversation

kk7ds
Copy link
Owner

@kk7ds kk7ds commented Aug 30, 2024

  • anytone778uv: Fix incorrect DTCS handling
  • ft4: Fix incorrect DTCS handling
  • ft857: Fix incorrect DTCS handling
  • Fix test_dtcs and test_cross skipping

This driver has been broken forever in how it handles DTCS tone mode.
It was always using the rx_dtcs field, which should only be honored
in a ->DTCS cross mode. The new GUI, being in hide-unused-fields mode
always made this clear, as it appeared to be snapping back to 023
always when the user selected a different value.

Note that the test is *also* broken, which I will fix at the end of
this series.

Fixes: #11506
This driver has been broken forever in how it handles DTCS tone mode.
It was always using the rx_dtcs field, which should only be honored
in a ->DTCS cross mode. The new GUI, being in hide-unused-fields mode
always made this clear, as it appeared to be snapping back to 023
always when the user selected a different value.

Note that the test is *also* broken, which I will fix at the end of
this series.

Related to #11506
This driver has been broken forever in how it handles DTCS tone mode.
It was always using the rx_dtcs field, which should only be honored
in a ->DTCS cross mode. The new GUI, being in hide-unused-fields mode
always made this clear, as it appeared to be snapping back to 023
always when the user selected a different value.

Note that the test is *also* broken, which I will fix at the end of
this series.

Related to #11506
This test has been wrong for a long time, basically never properly
asserting DTCS values for drivers. The three drivers fixed immediately
before this commit should have been caught by this test, but were not
because it was always skipping the dtcs field.

Related to #11506
This should make it more obvious for people looking for model
variantions (like RT95 VOX).

Related to #11509
@kk7ds kk7ds merged commit 63e8a46 into master Aug 31, 2024
6 checks passed
@kk7ds kk7ds deleted the bug/11506/rt95dtcs branch August 31, 2024 14:03
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