Use events to invoke menu handling on UART receive. We now have a basic

main dispatch loop.
This commit is contained in:
2011-06-04 19:41:12 +00:00
parent 0562093ebb
commit fda1b2a672
3 changed files with 25 additions and 9 deletions

View File

@@ -5,8 +5,9 @@
#define EVENT_TIMER 0
#define EVENT_I2C_COMPLETE 1
#define EVENT_UART_INPUT 2
#define EVENT_MAX 1
#define EVENT_MAX 2
typedef void event_handler(void);