debounce init

This commit is contained in:
Matthew Kennedy 2024-04-25 16:40:08 -07:00
parent 1c354c08c3
commit efc74d9975
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ void ButtonDebounce::init(efidur_t threshold, brain_pin_e &pin, pin_input_mode_e
s_firstDebounce = this;
}
m_threshold = threshold;
timeLast = 0;
timeLast = {};
m_pin = &pin;
m_mode = &mode;
startConfiguration();