This commit is contained in:
olikraus 2017-09-08 19:29:40 +02:00
commit cb48a03ed2
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ uint8_t u8x8_GetMenuEvent(u8x8_t *u8x8)
#define U8X8_DEBOUNCE_WAIT 2
/* do debounce and return a GPIO msg which indicates the event */
/* returns 0, if there is no event */
#ifdef __GNUC__
# pragma weak u8x8_GetMenuEvent
#endif
uint8_t u8x8_GetMenuEvent(u8x8_t *u8x8)
{
uint8_t pin_state;