arduino-libraries / NTPClient

Connect to a NTP server
533 stars 366 forks source link

Non blocking update needed for "super-loop" enjoyers #206

Open HoustonAsh opened 3 months ago

HoustonAsh commented 3 months ago

I've added 2 new functions:

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 3 months ago

Memory usage change @ 671e503c969167a3b33fe0347ce5f9866fdaa0ac

Board flash % RAM for global variables %
esp8266:esp8266:huzzah N/A N/A N/A N/A
Click for full report table Board|`examples/Advanced`
flash|%|`examples/Advanced`
RAM for global variables|%|`examples/AsyncUpdate`
flash|%|`examples/AsyncUpdate`
RAM for global variables|%|`examples/Basic`
flash|%|`examples/Basic`
RAM for global variables|%|`examples/IsTimeSet`
flash|%|`examples/IsTimeSet`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- `esp8266:esp8266:huzzah`|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A
Click for full report CSV ``` Board,examples/Advanced
flash,%,examples/Advanced
RAM for global variables,%,examples/AsyncUpdate
flash,%,examples/AsyncUpdate
RAM for global variables,%,examples/Basic
flash,%,examples/Basic
RAM for global variables,%,examples/IsTimeSet
flash,%,examples/IsTimeSet
RAM for global variables,% esp8266:esp8266:huzzah,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A ```
github-actions[bot] commented 3 months ago

Memory usage change @ e370ab622d55d1f97aabccbeb66c7b3f51d69c75

Board flash % RAM for global variables %
esp8266:esp8266:huzzah N/A N/A N/A N/A
Click for full report table Board|`examples/Advanced`
flash|%|`examples/Advanced`
RAM for global variables|%|`examples/AsyncUpdate`
flash|%|`examples/AsyncUpdate`
RAM for global variables|%|`examples/Basic`
flash|%|`examples/Basic`
RAM for global variables|%|`examples/IsTimeSet`
flash|%|`examples/IsTimeSet`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- `esp8266:esp8266:huzzah`|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A
Click for full report CSV ``` Board,examples/Advanced
flash,%,examples/Advanced
RAM for global variables,%,examples/AsyncUpdate
flash,%,examples/AsyncUpdate
RAM for global variables,%,examples/Basic
flash,%,examples/Basic
RAM for global variables,%,examples/IsTimeSet
flash,%,examples/IsTimeSet
RAM for global variables,% esp8266:esp8266:huzzah,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A ```
HoustonAsh commented 3 months ago

should solve #129, #23, #79, #189 (by checking return value of asyncUpdate()),