summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mode/ModeJoin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mode/ModeJoin.cpp b/Mode/ModeJoin.cpp
index 4d50508..5618eca 100644
--- a/Mode/ModeJoin.cpp
+++ b/Mode/ModeJoin.cpp
@@ -34,6 +34,11 @@ bool ModeJoin::start() {
// 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();