summaryrefslogtreecommitdiff
path: root/Mode
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-23 13:13:09 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-23 13:13:09 -0600
commit89643fb15feba53230c1bcf62569e2e5866fc4f2 (patch)
tree5a6c2d74445836be6dc94a3b7ea20ed07c122e1a /Mode
parent3ad4a2fde749077bce94115902ab9c6e9760a2f8 (diff)
downloadmtdot-box-evb-factory-firmware-89643fb15feba53230c1bcf62569e2e5866fc4f2.tar.gz
mtdot-box-evb-factory-firmware-89643fb15feba53230c1bcf62569e2e5866fc4f2.tar.bz2
mtdot-box-evb-factory-firmware-89643fb15feba53230c1bcf62569e2e5866fc4f2.zip
display frequency sub band when joining in 915 frequency band
Diffstat (limited to 'Mode')
-rw-r--r--Mode/ModeJoin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mode/ModeJoin.cpp b/Mode/ModeJoin.cpp
index e8026b9..d1e69ea 100644
--- a/Mode/ModeJoin.cpp
+++ b/Mode/ModeJoin.cpp
@@ -85,6 +85,8 @@ void ModeJoin::display() {
_join.updateId(_dot->getNetworkName());
_join.updateKey(_dot->getNetworkPassphrase());
}
+ if (_band == mDot::FB_915)
+ _join.updateFsb(_sub_band);
// mDot::DataRateStr returns format SF_XX - we only want to display the XX part
_join.updateRate(_dot->DataRateStr(_data_rate).substr(3));
_join.updatePower(_power);