Description
Hi,
Can you change the program that has delay (10) in waiting for NTP data and use millis() instead. So that our interrupt in the main program will not be delayed.
Thanks!
do {
delay ( 10 );
cb = this->_udp->parsePacket();
if (timeout > 100) return false; // timeout after 1000 ms
timeout++;
}
Metadata
Metadata
Assignees
Labels
No labels
Activity
DaleSchultz commentedon Sep 21, 2020
I agree, this is a good suggestion.
mlesniew commentedon Jan 28, 2022
Hi guys, I've prepared a fix for this in PR #163