summaryrefslogtreecommitdiff
path: root/ButtonHandler/ButtonHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'ButtonHandler/ButtonHandler.h')
-rw-r--r--ButtonHandler/ButtonHandler.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ButtonHandler/ButtonHandler.h b/ButtonHandler/ButtonHandler.h
index 57f768d..00898c6 100644
--- a/ButtonHandler/ButtonHandler.h
+++ b/ButtonHandler/ButtonHandler.h
@@ -6,15 +6,15 @@
#define buttonSignal (uint32_t)0x01
-typedef enum {
- none = 0,
- sw1_press,
- sw1_hold,
- sw2_press
-} ButtonEvent;
-
class ButtonHandler {
public:
+ typedef enum {
+ none = 0,
+ sw1_press,
+ sw1_hold,
+ sw2_press
+ } ButtonEvent;
+
ButtonHandler(osThreadId main);
~ButtonHandler();