Browse Source

AP_SerialManager: always set options

gps-1.3.1
Iampete1 3 years ago committed by Andrew Tridgell
parent
commit
2d39836b42
  1. 7
      libraries/AP_SerialManager/AP_SerialManager.cpp

7
libraries/AP_SerialManager/AP_SerialManager.cpp

@ -414,12 +414,7 @@ void AP_SerialManager::init() @@ -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…
Cancel
Save