We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75becd5 commit ba75556Copy full SHA for ba75556
src/ButtonBase.cpp
@@ -79,7 +79,7 @@ BUTTONSUITE::BUTTONSTATUS ButtonBase::update()
79
// if "read" returns false.
80
if (!_debouncer.read())
81
{
82
- if (_debouncer.duration() < _longPressInterval)
+ if (_debouncer.currentDuration() < _longPressInterval)
83
84
#ifdef BUTTONSUITEDEBUG
85
Serial.println("ButtonBase::update: ISSHORTPRESSED");
0 commit comments