summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hatch <Jeff.Hatch@multitech.com>2018-06-25 13:17:37 -0500
committerJeff Hatch <Jeff.Hatch@multitech.com>2018-06-25 13:17:37 -0500
commit4d10a843b412b779da6493c14f2f14e446de7ce2 (patch)
tree532e71d0ab279745d294a8ad93d4a207876583e8
parent42d1de550cbf1ec4700bc21974b876b53009b8da (diff)
downloadradio-query-0.7.tar.gz
radio-query-0.7.tar.bz2
radio-query-0.7.zip
Update call to convertModelToMtsShortCode to use new signature for supporting LNA3 and LAT3 radios0.7
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 4b447df..06c6e98 100644
--- a/main.cpp
+++ b/main.cpp
@@ -403,7 +403,7 @@ Json::Value getStaticData() {
}
std::string sCode(CellularRadio::VALUE_UNKNOWN);
- if(g_apRadio->convertModelToMtsShortCode(g_sModel, sCode) != CellularRadio::SUCCESS) {
+ if(CellularRadio::convertModelToMtsShortCode(g_sModel, sCode, g_apRadio.get()) != CellularRadio::SUCCESS) {
printWarning("Radio MTS short code not supported");
}
jData[CellularRadio::KEY_CODE] = sCode;