AP_SerialManager: move multiple RC input error to pre-arm failure

This commit is contained in:
Henry Wurzburg 2022-10-21 13:50:45 -05:00 committed by Randy Mackay
parent b51b972305
commit daaf50c3c5
1 changed files with 2 additions and 3 deletions

View File

@ -543,11 +543,10 @@ void AP_SerialManager::init()
#ifndef HAL_BUILD_AP_PERIPH
case SerialProtocol_RCIN:
if (AP::RC().has_uart()) {
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "Duplicate RCIN configured on SERIAL%u", i);
} else {
if (!AP::RC().has_uart()) {
AP::RC().add_uart(uart);
}
break;
#endif