This website works better with JavaScript.
Home
Explore
Help
Sign In
di0ib
/
tmk_keyboard_custom
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
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 years ago
parent
37cf260764
commit
110eea578b
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
protocol/pjrc/usb.c
+ 1
- 0
protocol/pjrc/usb.c
View File
@@ -629,6 +629,7 @@ uint8_t usb_configured(void)
void usb_remote_wakeup(void)
{
UDCON |= (1<<RMWKUP);
while (UDCON & (1<<RMWKUP));
}