소스 검색

Fix remotewakeup of PJRC stack(Fix #121)

- without this fix wakeup often fails
- keyboard can wakeup once or twice but fails after that
yuk86
tmk 10 년 전
부모
커밋
110eea578b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      protocol/pjrc/usb.c

+ 1
- 0
protocol/pjrc/usb.c 파일 보기

@@ -629,6 +629,7 @@ uint8_t usb_configured(void)
void usb_remote_wakeup(void)
{
UDCON |= (1<<RMWKUP);
while (UDCON & (1<<RMWKUP));
}