mirror of https://github.com/ArduPilot/ardupilot
AP_SerialManager: add warning iffrsky already configured
This commit is contained in:
parent
6151b84c86
commit
cbdbbf436c
|
@ -541,6 +541,8 @@ void AP_SerialManager::init()
|
||||||
case SerialProtocol_RCIN:
|
case SerialProtocol_RCIN:
|
||||||
if (!AP::RC().has_uart()) {
|
if (!AP::RC().has_uart()) {
|
||||||
AP::RC().add_uart(uart);
|
AP::RC().add_uart(uart);
|
||||||
|
} else {
|
||||||
|
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "SERIAL%u_PROTOCOL - uart already added", i);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue