Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DOGS102 GpsParser ISL29011 MMA845x MPL3115A2 MTS-Serial NCP5623B libmDot-dev-mbed5-deprecated
Fork of MTDOT-BOX-EVB-Factory-Firmware by
Diff: Mode/ModeJoin.cpp
- Revision:
- 5:10ea08959743
- Parent:
- 1:71125aa00e33
- Child:
- 7:a31236c2e75c
--- 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();