diff options
-rw-r--r-- | protocol/pjrc/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/pjrc/usb.c b/protocol/pjrc/usb.c index 2b267d480..1e6ba8719 100644 --- a/protocol/pjrc/usb.c +++ b/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)); } |