Revision 79
fully implemented state_machine & gesture
kbc.c | ||
---|---|---|
30 | 30 |
int ret = 0; |
31 | 31 |
uint8_t cmd = 0; |
32 | 32 |
if((ret = kbc_read_cmd(&cmd))) return ret; |
33 |
cmd = (cmd | INT_KBD) & (~DIS_KBD) ;
|
|
33 |
cmd = (cmd | INT_KBD) & (~DIS_KBD); |
|
34 | 34 |
if((ret = kbc_change_cmd(cmd))) return ret; |
35 | 35 |
return SUCCESS; |
36 | 36 |
} |
Also available in: Unified diff