summary refs log tree commit diff stats
path: root/firmware/include/inputs/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/inputs/button.h')
-rw-r--r--firmware/include/inputs/button.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/include/inputs/button.h b/firmware/include/inputs/button.h
index c3530ae..908ea22 100644
--- a/firmware/include/inputs/button.h
+++ b/firmware/include/inputs/button.h
@@ -1,6 +1,6 @@
 #pragma once
 
-#include <cstdint>
+#include <stdint.h>
 
 namespace inputs {
 
@@ -8,9 +8,12 @@ class Button {
 public:
     Button(uint8_t pin);
 
+    void init();
+
     bool is_pressed();
 
 private:
+    uint8_t pin;
 };
 
 }