~ruther/qmk_firmware

110eea578b561f7169ea19927c54533c2b93b3a3 — tmk 11 years ago 37cf260
Fix remotewakeup of PJRC stack(Fix #121)

- without this fix wakeup often fails
- keyboard can wakeup once or twice but fails after that
1 files changed, 1 insertions(+), 0 deletions(-)

M protocol/pjrc/usb.c
M protocol/pjrc/usb.c => protocol/pjrc/usb.c +1 -0
@@ 629,6 629,7 @@ uint8_t usb_configured(void)
void usb_remote_wakeup(void)
{
    UDCON |= (1<<RMWKUP);
    while (UDCON & (1<<RMWKUP));
}