From eeb5dd3c96e105d3e11debc2a1c63546055b62b6 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Thu, 23 Sep 2021 19:04:15 +0100 Subject: [PATCH] AP_SerialManger: always run set_options --- libraries/AP_SerialManager/AP_SerialManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_SerialManager/AP_SerialManager.cpp b/libraries/AP_SerialManager/AP_SerialManager.cpp index 6af9d9c592..842ba7cc1f 100644 --- a/libraries/AP_SerialManager/AP_SerialManager.cpp +++ b/libraries/AP_SerialManager/AP_SerialManager.cpp @@ -416,7 +416,7 @@ void AP_SerialManager::init() if (uart != nullptr) { // see if special options have been requested - if (state[i].protocol != SerialProtocol_None && state[i].options) { + if (state[i].protocol != SerialProtocol_None) { set_options(i); }