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

AP_SerialManager: add warning if frsky already configured #27722

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

peterbarker
Copy link
Contributor

Closes #5318

@tridge tridge merged commit cbdbbf4 into ArduPilot:master Aug 5, 2024
93 checks passed
@CraigElder CraigElder changed the title AP_SerialManager: add warning iffrsky already configured AP_SerialManager: add warning if frsky already configured Aug 5, 2024
@@ -541,6 +541,8 @@ void AP_SerialManager::init()
case SerialProtocol_RCIN:
if (!AP::RC().has_uart()) {
AP::RC().add_uart(uart);
} else {
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "SERIAL%u_PROTOCOL - uart already added", i);
Copy link
Contributor

@rmackay9 rmackay9 Aug 5, 2024

Choose a reason for hiding this comment

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

How about "SERIAL%u_PROTOCOL: duplicate RCIN not permitted"

@peterbarker peterbarker deleted the pr/frsky-warning branch August 6, 2024 00:46
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.

FrSky: error msg needed when multiple ports configured
4 participants