aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 0714611..2df67e1 100644
--- a/src/main.h
+++ b/src/main.h
@@ -24,3 +24,10 @@ void dumb_delay();
void timer_delay(unsigned short millis);
int main();
+typedef enum {
+ up_idle = 0,
+ down_edge = 1,
+ down_idle = 2,
+ up_edge = 3,
+} button_state;
+