You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting my compiler to all messages I get this warning:
D:\5_Tinker\Arduino\libraries\Button2\src\Button2.cpp: In member function 'void Button2::loop()':
D:\5_Tinker\Arduino\libraries\Button2\src\Button2.cpp:181:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if (pin > -1) {
^
Since pin numbers are defined as uint8 this comparison seem to be reconsidered isn't it?
The text was updated successfully, but these errors were encountered:
Setting my compiler to all messages I get this warning:
Since pin numbers are defined as uint8 this comparison seem to be reconsidered isn't it?
The text was updated successfully, but these errors were encountered: