本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
di0ib
/
tmk_keyboard_custom
關注
1
收藏
0
複製
0
程式碼
版本發佈
0
活動
瀏覽代碼
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 年之前
父節點
37cf260764
當前提交
110eea578b
共有
1 個檔案被更改
,包括
1 行新增
和
0 行删除
分割檢視
顯示文件統計
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));
}