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

Implement RX bind for CRSF #26375

Merged
merged 2 commits into from
Mar 11, 2024
Merged

Implement RX bind for CRSF #26375

merged 2 commits into from
Mar 11, 2024

Conversation

andyp1per
Copy link
Collaborator

CRSF supports a bind command, this uses it to support mavlink bind for CRSF

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

There should be no caller to this When HAL_CRSF_TELEM_ENABLED is false, so remove it completely.

You could also remove it from the header file if you felt like it; if you do so you cet a compile-time rather than link-time failure which makes it easier to find and fix build problems.

libraries/AP_RCProtocol/AP_RCProtocol_CRSF.cpp Outdated Show resolved Hide resolved
@andyp1per
Copy link
Collaborator Author

Tested and working with TBS RX

@andyp1per
Copy link
Collaborator Author

There should be no caller to this When HAL_CRSF_TELEM_ENABLED is false, so remove it completely.

You could also remove it from the header file if you felt like it; if you do so you cet a compile-time rather than link-time failure which makes it easier to find and fix build problems.

Preferred my solution which was far less hassle and avoid all sorts of compilation problems

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

Just saying my comment has been addressed....

@tridge tridge merged commit 2f246b7 into ArduPilot:master Mar 11, 2024
91 checks passed
@andyp1per andyp1per deleted the pr-crsf-bind branch March 12, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRSF module into bind mode with software
4 participants