diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp b/libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp index 7118adb5d2..c5111a2bc9 100644 --- a/libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp +++ b/libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp @@ -443,6 +443,7 @@ int UbloxUSBModem::init() { INFO("Using a u-blox LISA-C200 CDMA Modem"); m_gsm = false; + m_onePort = false; } else { diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxModem.h b/libraries/net/cellular/UbloxUSBModem/UbloxModem.h index 5515ff29f2..153942785c 100644 --- a/libraries/net/cellular/UbloxUSBModem/UbloxModem.h +++ b/libraries/net/cellular/UbloxUSBModem/UbloxModem.h @@ -128,8 +128,8 @@ private: bool m_ussdInit; //< Has USSDInterface object (m_ussd) been initialised? true/false bool m_linkMonitorInit; //< Has LinkMonitor object (m_linkMonitor) been initialised? true/false bool m_atOpen; //< Is the interface to the ATCommandsInterface open? true/false - bool m_onePort; protected: + bool m_onePort; bool m_gsm; };