mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SerialManager: add and use AP_RCPROTOCOL_ENABLED
This commit is contained in:
parent
2c00813aab
commit
ef657438fc
@ -532,7 +532,7 @@ void AP_SerialManager::init()
|
||||
AP_SERIALMANAGER_SLCAN_BUFSIZE_TX);
|
||||
break;
|
||||
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
#if AP_RCPROTOCOL_ENABLED
|
||||
case SerialProtocol_RCIN:
|
||||
if (!AP::RC().has_uart()) {
|
||||
AP::RC().add_uart(uart);
|
||||
|
Loading…
Reference in New Issue
Block a user