mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-14 08:55:59 +08:00
AP_SerialManager: add warning iffrsky already configured
This commit is contained in:
committed by
Andrew Tridgell
parent
6151b84c86
commit
cbdbbf436c
@@ -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);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user