diff options
Diffstat (limited to 'ButtonHandler/ButtonHandler.cpp')
-rw-r--r-- | ButtonHandler/ButtonHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ButtonHandler/ButtonHandler.cpp b/ButtonHandler/ButtonHandler.cpp index 279fc5b..dfdbd92 100644 --- a/ButtonHandler/ButtonHandler.cpp +++ b/ButtonHandler/ButtonHandler.cpp @@ -89,6 +89,8 @@ ButtonHandler::ButtonHandler(osThreadId main) _sw2(PA_11), _sw1_time(0), _sw2_time(0), + _sw1_running(false), + _sw2_running(false), _event(none), _debounce_time(20), _hold_threshold(500) |