Skip to content

Commit d5da332

Browse files
committed
only use one port with CDMA at the moment.
1 parent ea42c3b commit d5da332

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ int UbloxUSBModem::init()
443443
{
444444
INFO("Using a u-blox LISA-C200 CDMA Modem");
445445
m_gsm = false;
446+
m_onePort = false;
446447
}
447448
else
448449
{

libraries/net/cellular/UbloxUSBModem/UbloxModem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ class UbloxModem: public CellularModem
128128
bool m_ussdInit; //< Has USSDInterface object (m_ussd) been initialised? true/false
129129
bool m_linkMonitorInit; //< Has LinkMonitor object (m_linkMonitor) been initialised? true/false
130130
bool m_atOpen; //< Is the interface to the ATCommandsInterface open? true/false
131-
bool m_onePort;
132131
protected:
132+
bool m_onePort;
133133
bool m_gsm;
134134
};
135135

0 commit comments

Comments
 (0)