EasyNTPClient icon indicating copy to clipboard operation
EasyNTPClient copied to clipboard

make "mUpdateInterval" uint32_t

Open wunditta opened this issue 5 years ago • 0 comments

On some boards (e.g. ATmega like Uno) "int" is only 2 bytes and thus is capped unsigned at only roughly 65000. As mUpdateInterval holds milliseconds this more or less means that you can have 1 minute max as update interval. I suggest to set the type of mUpdateInterval to uint32_t, which is always right.

wunditta avatar Jul 03 '19 13:07 wunditta