Revision 43
minor changes. added compile.sh
kbc.c | ||
---|---|---|
77 | 77 |
return 0; |
78 | 78 |
} |
79 | 79 |
|
80 |
int (kbc_restore_kbd)(){ |
|
81 |
uint8_t cmd = 0; |
|
82 |
if(kbc_read_cmd(&cmd)) return 1; |
|
83 |
cmd = (cmd | INT_KBD) & (~DIS_KBD); |
|
84 |
if(kbc_change_cmd(cmd)) return 1; |
|
85 |
return 0; |
|
86 |
} |
|
87 |
|
|
80 | 88 |
int (kbc_issue_cmd)(uint8_t cmd){ |
81 | 89 |
uint8_t stat; |
82 | 90 |
for(int i = 0; i < KBC_NUM_TRIES; ++i){ |
Also available in: Unified diff