diff --git a/libraries/AP_SerialManager/AP_SerialManager.cpp b/libraries/AP_SerialManager/AP_SerialManager.cpp index 843183a4ec..1beb1d26de 100644 --- a/libraries/AP_SerialManager/AP_SerialManager.cpp +++ b/libraries/AP_SerialManager/AP_SerialManager.cpp @@ -33,7 +33,6 @@ extern const AP_HAL::HAL& hal; #define SERIAL5_BAUD AP_SERIALMANAGER_MAVLINK_BAUD/1000 #endif - const AP_Param::GroupInfo AP_SerialManager::var_info[] = { // @Param: 0_BAUD // @DisplayName: Serial0 baud rate @@ -147,6 +146,8 @@ void AP_SerialManager::init_console() AP_SERIALMANAGER_CONSOLE_BUFSIZE_TX); } +extern bool g_nsh_should_exit; + // init - // init - initialise serial ports void AP_SerialManager::init() { @@ -163,6 +164,14 @@ void AP_SerialManager::init() // initialise serial ports for (uint8_t i=1; i