* improved stability (in comparison to 0.3.7)

* reset wifi AP timout once a client is detected
* fix #26 wrong variable reset
This commit is contained in:
lumapu 2022-05-10 21:00:32 +02:00
parent 37206847c5
commit b485cb8151
7 changed files with 47 additions and 89 deletions

View file

@ -205,9 +205,11 @@ class HmRadio {
mRxLoopCnt += addLoop;
if(mRxLoopCnt != 0) {
mRxLoopCnt--;
DISABLE_IRQ;
mNrf24.stopListening();
mNrf24.setChannel(getRxNxtChannel());
mNrf24.startListening();
RESTORE_IRQ;
}
return (0 == mRxLoopCnt); // receive finished
}