Skip to content

AP_Radio: fix cc2500 channel selection#32822

Draft
vlordier wants to merge 1 commit intoArduPilot:masterfrom
vlordier:pr/ap-radio-cc2500-fix
Draft

AP_Radio: fix cc2500 channel selection#32822
vlordier wants to merge 1 commit intoArduPilot:masterfrom
vlordier:pr/ap-radio-cc2500-fix

Conversation

@vlordier
Copy link
Copy Markdown

@vlordier vlordier commented Apr 18, 2026

This draft isolates the cc2500 channel-selection fix from the larger hardening branch.

Summary:

  • correct the channel selection loop so replacement channels are chosen from the intended candidate variable rather than the stale outer value
  • add focused regression coverage for stale-channel recovery avoiding Wi-Fi-band picks and skipping reserved channel 0

Why:

  • this is a tiny, self-contained radio fix and should be reviewed independently of the larger branch

Validation:

  • branch was split cleanly from upstream/master
  • the branch includes focused regression test source for the channel-selection edge cases in this slice
  • not fully validated locally as a standalone branch beyond the split and commit flow
  • draft only pending subsystem review

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