Skip to content

Conversation

@gtbyio
Copy link

@gtbyio gtbyio commented Feb 13, 2023

error:
expression [-Woverflow] #define SECS(t) (unsigned long) (t * 1000)

timer1.begin(SECS(35));
// on a value greater than 30Sec , error ....Woverflow

in Timers.h add UL ---- > ((t * 1000??)
line 7 : #define SECS(t) (unsigned long) (t * 1000UL)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants