From: Jun Wako Date: Mon, 26 Jan 2015 02:25:22 +0000 (+0900) Subject: Fix call parameter of suspend_power_down() X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=abf482de8e62880f27c377c2bdbcb664fda0df0b;p=max%2Ftmk_keyboard.git Fix call parameter of suspend_power_down() --- diff --git a/protocol/bluefruit/main.c b/protocol/bluefruit/main.c index 094fdb36..871062ab 100644 --- a/protocol/bluefruit/main.c +++ b/protocol/bluefruit/main.c @@ -104,7 +104,7 @@ int main(void) dprintf("Starting main loop"); while (1) { while (suspend) { - suspend_power_down(WDTO_120MS); + suspend_power_down(); if (remote_wakeup && suspend_wakeup_condition()) { usb_remote_wakeup(); } diff --git a/protocol/pjrc/main.c b/protocol/pjrc/main.c index 4f87a173..e7bdcc05 100644 --- a/protocol/pjrc/main.c +++ b/protocol/pjrc/main.c @@ -61,7 +61,7 @@ int main(void) #endif while (1) { while (suspend) { - suspend_power_down(WDTO_120MS); + suspend_power_down(); if (remote_wakeup && suspend_wakeup_condition()) { usb_remote_wakeup(); }