mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-08 03:57:16 +02:00
fix retransmit counter for secondtry
- try to fix "45ms"-Problem
This commit is contained in:
parent
7d9cfcbe41
commit
3fbd2c7c88
2 changed files with 3 additions and 2 deletions
|
@ -167,6 +167,7 @@ class HmRadio : public Radio {
|
|||
if(rx_ready) {
|
||||
if (getReceived()) { // check what we got, returns true for last package
|
||||
mNRFisInRX = false;
|
||||
rx_ready = false;
|
||||
mRadioWaitTime.startTimeMonitor(DURATION_PAUSE_LASTFR); // let the inverter first end his transmissions
|
||||
mNrf24->stopListening();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue