diff options
Diffstat (limited to 'Mode/ModeJoin.cpp')
-rw-r--r-- | Mode/ModeJoin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mode/ModeJoin.cpp b/Mode/ModeJoin.cpp index c992eff..9adbd55 100644 --- a/Mode/ModeJoin.cpp +++ b/Mode/ModeJoin.cpp @@ -22,12 +22,12 @@ bool ModeJoin::start() { display(); - _lora->setDataRate(_data_rate); - _lora->setPower(_power); + _dot->setTxDataRate(_data_rate); + _dot->setTxPower(_power); _lora->resetJoinAttempts(); while (! _joined) { - _next_tx = _lora->getNextTx(); + _next_tx = _dot->getNextTxMs(); if (_next_tx) { logInfo("next tx %lu ms", _next_tx); _join.updateStatus("Waiting..."); |