mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_SerialManager: always set options
This commit is contained in:
parent
a9fed2f9bc
commit
2d39836b42
@ -414,12 +414,7 @@ void AP_SerialManager::init()
|
||||
auto *uart = hal.serial(i);
|
||||
|
||||
if (uart != nullptr) {
|
||||
|
||||
// see if special options have been requested
|
||||
if (state[i].protocol != SerialProtocol_None) {
|
||||
set_options(i);
|
||||
}
|
||||
|
||||
set_options(i);
|
||||
switch (state[i].protocol) {
|
||||
case SerialProtocol_None:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user