mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_SerialManager: fixed AP_Periph build
This commit is contained in:
parent
83872c23e5
commit
4b48e80c26
@ -410,9 +410,11 @@ void AP_SerialManager::init()
|
||||
AP_SERIALMANAGER_SLCAN_BUFSIZE_TX);
|
||||
break;
|
||||
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
case SerialProtocol_RCIN:
|
||||
AP::RC().add_uart(state[i].uart);
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
state[i].uart->begin(map_baudrate(state[i].baud));
|
||||
|
Loading…
Reference in New Issue
Block a user