diff options
author | tmk <hasu@tmk-kbd.com> | 2014-11-26 11:25:45 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-01-15 17:08:48 +0900 |
commit | 05795cb0034e885bec37f782cfc6bddcae262637 (patch) | |
tree | 8dffd6f416da650e31c8a509d830415dc22cae52 /keyboard/hhkb_rn42/rn42 | |
parent | 10a6b2c7d8bc9c5d2657acdeefa1102be5035280 (diff) | |
download | firmware-05795cb0034e885bec37f782cfc6bddcae262637.tar.gz firmware-05795cb0034e885bec37f782cfc6bddcae262637.tar.bz2 firmware-05795cb0034e885bec37f782cfc6bddcae262637.zip |
Compensate timer during prower down
Diffstat (limited to 'keyboard/hhkb_rn42/rn42')
-rw-r--r-- | keyboard/hhkb_rn42/rn42/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb_rn42/rn42/main.c b/keyboard/hhkb_rn42/rn42/main.c index 43d887067..a3a37c074 100644 --- a/keyboard/hhkb_rn42/rn42/main.c +++ b/keyboard/hhkb_rn42/rn42/main.c @@ -85,7 +85,7 @@ int main(void) print("Keyboard start.\n"); while (1) { while (USB_DeviceState == DEVICE_STATE_Suspended) { - suspend_power_down(WDTO_120MS); + suspend_power_down(); if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) { USB_Device_SendRemoteWakeup(); } |