]> git.gir.st - tmk_keyboard.git/commit
Fix USB initilaize on LUFA
authortmk <nobody@nowhere>
Sat, 21 Sep 2013 13:47:03 +0000 (22:47 +0900)
committertmk <nobody@nowhere>
Sat, 21 Sep 2013 13:47:03 +0000 (22:47 +0900)
commit7d692c492ca999edd827477b914ae38ce43bf519
tree60c42dc9460c9f924c2274ccb7d2252bcea6e399
parent6ccea742deb84451a5815e40ccfc3aaa74feb622
Fix USB initilaize on LUFA

- Add print messages of USB intialize procesure.
- call out sei() in earlier stage. LUFA API doc of USB_Init() says:
interrupts must be enabled within 500ms ... to ensure that the host does
not time out whilst enumerating the device
- remove matrix_init() from suspend_wakeup_init(). It is not needed in
  fact and if matrix_init() takes long time to initialize it prevents
host emnumerating the device.
common/keyboard.c
common/suspend.c
protocol/lufa/lufa.c
Imprint / Impressum