Skip to content

Commit 22bccf0

Browse files
committed
fixed typo
changed ulong to unsigned long
1 parent 33a6829 commit 22bccf0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/EZButton.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ enum EventTypes
1414
class EZButton
1515
{
1616
public:
17-
ulong long HoldTreshHold;
18-
ulong HoldInterval;
17+
unsigned long HoldTreshHold;
18+
unsigned long HoldInterval;
1919

2020
EZButton(const String buttonNames[],
2121
bool *(*readButtons)(String *, int),
22-
ulong holdTreshold = 500,
23-
ulong holdInterval = 500);
22+
unsigned long holdTreshold = 500,
23+
unsigned long holdInterval = 500);
2424

2525
~EZButton();
2626

src/EZButton.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
EZButton::EZButton(const String buttonNames[],
44
bool *(*readButtons)(String *, int),
5-
ulong holdTreshold,
6-
ulong holdInterval)
5+
unsigned long holdTreshold,
6+
unsigned long holdInterval)
77
{
88
_numButtons = buttonNames->length() - 1;
99
HoldTreshHold = holdTreshold;

0 commit comments

Comments
 (0)