Skip to content

Commit 45c80a5

Browse files
committed
made another field unsigned
1 parent 22bccf0 commit 45c80a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EZButton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void EZButton::CheckButtons()
6969
}
7070
else if (millis() - _buttonDownMillis[i] > HoldTreshHold)
7171
{
72-
int interval = (millis() - _buttonDownMillis[i]) / HoldInterval;
72+
unsigned long interval = (millis() - _buttonDownMillis[i]) / HoldInterval;
7373
if (interval > _lastHoldInterval[i])
7474
{
7575
_lastHoldInterval[i] = interval;

0 commit comments

Comments
 (0)