1
0

Fix call parameter of suspend_power_down()

This commit is contained in:
Jun Wako 2015-01-26 11:25:22 +09:00
parent b2ccaabda8
commit e82c6007e3
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ int main(void)
dprintf("Starting main loop"); dprintf("Starting main loop");
while (1) { while (1) {
while (suspend) { while (suspend) {
suspend_power_down(WDTO_120MS); suspend_power_down();
if (remote_wakeup && suspend_wakeup_condition()) { if (remote_wakeup && suspend_wakeup_condition()) {
usb_remote_wakeup(); usb_remote_wakeup();
} }

View File

@ -61,7 +61,7 @@ int main(void)
#endif #endif
while (1) { while (1) {
while (suspend) { while (suspend) {
suspend_power_down(WDTO_120MS); suspend_power_down();
if (remote_wakeup && suspend_wakeup_condition()) { if (remote_wakeup && suspend_wakeup_condition()) {
usb_remote_wakeup(); usb_remote_wakeup();
} }