mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -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);
|
AP_SERIALMANAGER_SLCAN_BUFSIZE_TX);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifndef HAL_BUILD_AP_PERIPH
|
#if AP_RCPROTOCOL_ENABLED
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user