summaryrefslogtreecommitdiff
path: root/Mode
diff options
context:
space:
mode:
Diffstat (limited to 'Mode')
-rw-r--r--Mode/ModeJoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mode/ModeJoin.cpp b/Mode/ModeJoin.cpp
index 9adbd55..5b0a7ed 100644
--- a/Mode/ModeJoin.cpp
+++ b/Mode/ModeJoin.cpp
@@ -28,7 +28,7 @@ bool ModeJoin::start() {
while (! _joined) {
_next_tx = _dot->getNextTxMs();
- if (_next_tx) {
+ if (! joining && _next_tx > 0) {
logInfo("next tx %lu ms", _next_tx);
_join.updateStatus("Waiting...");
_join.updateCountdown(_next_tx / 1000);