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

chan_simpleusb / chan_usbradio: Modify cos operation #356

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

KB4MDD
Copy link
Collaborator

@KB4MDD KB4MDD commented Jul 12, 2024

chan_simpleusb and chan_usbradio should not activate the receiver
when the carrierfrom and ctcssfrom are set to no.

This closes #329.

chan_simpleusb and chan_usbradio should not activate the receiver
when the carrierfrom and ctcssfrom are set to no.

This closes #329.
@KB4MDD KB4MDD self-assigned this Jul 12, 2024
@KB4MDD KB4MDD requested a review from InterLinked1 July 12, 2024 12:27
Copy link
Collaborator

@Allan-N Allan-N left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK w/me.

@Allan-N Allan-N merged commit 02e0718 into master Jul 16, 2024
1 check passed
@@ -2260,6 +2260,13 @@ static struct ast_frame *simpleusb_read(struct ast_channel *c)
sd = 1;
}
o->rx_ctcss_active = sd;
Copy link

@mkmer mkmer Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this assignment follow the new code?
o->rx_ctcss_active = sd will not be changed (or maybe that's what you wanted?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left that so that the live display would show the actual signal being received. We may have a cos activation and that would be displayed, however, if the options are set to 'no', the ptt would not be keyed.

Setting both options to 'no' is a real unique situation. It would be a case where the device can only transmit.

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.

Simpleusb-tune-menu COS Output Logic
3 participants