add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard app

This commit is contained in:
hathach
2013-11-21 13:54:29 +07:00
parent c461c72ac2
commit c303154b7a
6 changed files with 59 additions and 24 deletions

View File

@@ -105,7 +105,7 @@ static inline uint32_t osal_tick_get(void)
ATTR_UNUSED static uint32_t timeout = 0;\
static uint16_t state = 0;\
switch(state) {\
case 0:{\
case 0: { \
#define OSAL_TASK_LOOP_END \
default:\