mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-02 02:31:38 +02:00
* 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:
parent
37206847c5
commit
b485cb8151
7 changed files with 47 additions and 89 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue