diff options
Diffstat (limited to 'keyboard')
| -rw-r--r-- | keyboard/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboard/keyboard.c b/keyboard/keyboard.c index ae57bb6..f063aa5 100644 --- a/keyboard/keyboard.c +++ b/keyboard/keyboard.c @@ -155,10 +155,12 @@ int main() { case STATE_SEND_KEY: buildReport('x'); state = STATE_RELEASE_KEY; // release next + PORTB |= _BV(PB1); break; case STATE_RELEASE_KEY: buildReport(NULL); state = STATE_WAIT; // go back to waiting + PORTB &= ~_BV(PB1); break; default: state = STATE_WAIT; // should not happen |
