MTDOT-BOX-EVB-Factory-Firmware
Dependencies: NCP5623B GpsParser ISL29011 libmDot-mbed5 MTS-Serial MMA845x DOGS102 MPL3115A2
Diff: Mode/ModeJoin.cpp
- Revision:
- 12:05435282f899
- Parent:
- 7:a31236c2e75c
diff -r 19ce32436b9b -r 05435282f899 Mode/ModeJoin.cpp --- a/Mode/ModeJoin.cpp Thu Nov 10 22:10:58 2016 +0000 +++ b/Mode/ModeJoin.cpp Tue Oct 09 13:49:30 2018 -0500 @@ -119,7 +119,7 @@ _join.updateId(_dot->getNetworkName()); _join.updateKey(_dot->getNetworkPassphrase()); } - if (_band == mDot::FB_US915 || _band == mDot::FB_AU915) { + if (lora::ChannelPlan::IsPlanFixed(_band)) { _sub_band = _dot->getFrequencySubBand(); _join.updateFsb(_sub_band); }