diff options
Diffstat (limited to 'ButtonHandler/ButtonHandler.h')
-rw-r--r-- | ButtonHandler/ButtonHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ButtonHandler/ButtonHandler.h b/ButtonHandler/ButtonHandler.h index cfca1d7..57f768d 100644 --- a/ButtonHandler/ButtonHandler.h +++ b/ButtonHandler/ButtonHandler.h @@ -20,13 +20,13 @@ class ButtonHandler { ButtonEvent getButtonEvent(); - private: void sw1_fall(); void sw1_rise(); void sw2_fall(); void sw2_rise(); osThreadId _main; + Thread _thread; InterruptIn _sw1; InterruptIn _sw2; Timer _sw1_timer; |