diff options
author | Jun Wako <wakojun@gmail.com> | 2015-01-26 11:25:22 +0900 |
---|---|---|
committer | Jun Wako <wakojun@gmail.com> | 2015-01-26 11:25:22 +0900 |
commit | abf482de8e62880f27c377c2bdbcb664fda0df0b (patch) | |
tree | 7689162771a7dc1f5e1a474c4c074c6dcc28d435 /protocol | |
parent | e872dd2149330dbbf179a0eb1a4f7de7250c6708 (diff) |
Fix call parameter of suspend_power_down()
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/bluefruit/main.c | 2 | ||||
-rw-r--r-- | protocol/pjrc/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocol/bluefruit/main.c b/protocol/bluefruit/main.c index 094fdb3662..871062ab11 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 4f87a17364..e7bdcc059a 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(); } |