diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-02-07 01:34:05 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-02-07 01:34:05 +0000 |
commit | e528d8912601e151e2724176298e0365773b6b8e (patch) | |
tree | 5e6102f07c02d42db97fb48775a53470414ec05e /usb-i2c-sl018/eventqueue.h | |
parent | added manual switch (diff) |
added to_string functions for events and states
git-svn-id: https://svn.spreadspace.org/avr/trunk@165 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/eventqueue.h')
-rw-r--r-- | usb-i2c-sl018/eventqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usb-i2c-sl018/eventqueue.h b/usb-i2c-sl018/eventqueue.h index fa2929b..35c1fa1 100644 --- a/usb-i2c-sl018/eventqueue.h +++ b/usb-i2c-sl018/eventqueue.h @@ -29,5 +29,6 @@ typedef enum { none, cmd_open, cmd_close, cmd_toggle, btn_toggle, card, close_fi void init_eventqueue(void); event_t eventqueue_pop(void); void eventqueue_push(event_t); +const char* event_to_string(event_t event); #endif |