diff options
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; + |