Updated to libmDot 1.0.8-1
Dependencies: DOGS102 GpsParser ISL29011 MMA845x MPL3115A2 MTS-Serial NCP5623B libmDot mbed-rtos mbed
Fork of MTDOT-BOX-EVB-Factory-Firmware by
Diff: Mode/ModeJoin.cpp
- Revision:
- 5:10ea08959743
- Parent:
- 1:71125aa00e33
- Child:
- 6:ab581c4260e7
--- a/Mode/ModeJoin.cpp Tue May 31 13:12:21 2016 -0500 +++ b/Mode/ModeJoin.cpp Mon Jul 11 14:06:36 2016 +0000 @@ -34,6 +34,11 @@ // clear any stale signals osSignalClear(_main_id, buttonSignal | loraSignal); + if (_dot->getJoinMode() == mDot::MANUAL) { + // already joined + return true; + } + _initial_data_rate = _dot->getTxDataRate(); _initial_power = _dot->getTxPower();