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 | |
| parent | e872dd2149330dbbf179a0eb1a4f7de7250c6708 (diff) | |
| download | qmk_firmware-abf482de8e62880f27c377c2bdbcb664fda0df0b.tar.gz qmk_firmware-abf482de8e62880f27c377c2bdbcb664fda0df0b.zip | |
Fix call parameter of suspend_power_down()
| -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 094fdb366..871062ab1 100644 --- a/protocol/bluefruit/main.c +++ b/protocol/bluefruit/main.c | |||
| @@ -104,7 +104,7 @@ int main(void) | |||
| 104 | dprintf("Starting main loop"); | 104 | dprintf("Starting main loop"); |
| 105 | while (1) { | 105 | while (1) { |
| 106 | while (suspend) { | 106 | while (suspend) { |
| 107 | suspend_power_down(WDTO_120MS); | 107 | suspend_power_down(); |
| 108 | if (remote_wakeup && suspend_wakeup_condition()) { | 108 | if (remote_wakeup && suspend_wakeup_condition()) { |
| 109 | usb_remote_wakeup(); | 109 | usb_remote_wakeup(); |
| 110 | } | 110 | } |
diff --git a/protocol/pjrc/main.c b/protocol/pjrc/main.c index 4f87a1736..e7bdcc059 100644 --- a/protocol/pjrc/main.c +++ b/protocol/pjrc/main.c | |||
| @@ -61,7 +61,7 @@ int main(void) | |||
| 61 | #endif | 61 | #endif |
| 62 | while (1) { | 62 | while (1) { |
| 63 | while (suspend) { | 63 | while (suspend) { |
| 64 | suspend_power_down(WDTO_120MS); | 64 | suspend_power_down(); |
| 65 | if (remote_wakeup && suspend_wakeup_condition()) { | 65 | if (remote_wakeup && suspend_wakeup_condition()) { |
| 66 | usb_remote_wakeup(); | 66 | usb_remote_wakeup(); |
| 67 | } | 67 | } |
