We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a088ae commit 4b8cf7bCopy full SHA for 4b8cf7b
1 file changed
RF24Network.cpp
@@ -132,10 +132,10 @@ uint8_t ESBNetwork<radio_t>::update(void)
132
133
uint8_t returnVal = 0;
134
135
- uint32_t timeout = millis();
+ uint32_t timeout = millis() + 100;
136
137
while (radio.available()) {
138
- if (millis() - timeout > 1000) {
+ if (millis() > timeout) {
139
radio.flush_rx();
140
return NETWORK_OVERRUN;
141
}
0 commit comments