summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;