mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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);
|
auto *uart = hal.serial(i);
|
||||||
|
|
||||||
if (uart != nullptr) {
|
if (uart != nullptr) {
|
||||||
|
set_options(i);
|
||||||
// see if special options have been requested
|
|
||||||
if (state[i].protocol != SerialProtocol_None) {
|
|
||||||
set_options(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (state[i].protocol) {
|
switch (state[i].protocol) {
|
||||||
case SerialProtocol_None:
|
case SerialProtocol_None:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user