Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
110eea578b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1
    0
      protocol/pjrc/usb.c

+ 1
- 0
protocol/pjrc/usb.c Datei anzeigen

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