BitMaker-hub / NerdMiner_v2

Improved version of first ESP32 NerdMiner
Other
1.5k stars 268 forks source link

Wrong time after first connection #146

Closed D44rkM00n closed 1 year ago

D44rkM00n commented 1 year ago

Observed that on poor wifi environment the nerdminer time is not correctly shown Seem that timeClient.update() does not return a true, but is not checked and mTriggerUpdate is popullated with millis(). After that the NerdMiner took 5 hours to update the time. With my pull request If the timeClient.update() function does not make a real update don't change mTriggerUpdate, this ensure that the time shown on screen at power up is updated as soon as gets connected and updated.