]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Fix call parameter of suspend_power_down()
authorJun Wako <wakojun@gmail.com>
Mon, 26 Jan 2015 02:25:22 +0000 (11:25 +0900)
committerJun Wako <wakojun@gmail.com>
Mon, 26 Jan 2015 02:25:22 +0000 (11:25 +0900)
protocol/bluefruit/main.c
protocol/pjrc/main.c

index 094fdb36629494405abaa7442ff08f4475402a84..871062ab11727e852071a13b11c7ff549297e5c2 100644 (file)
@@ -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();
                 }
index 4f87a1736458851e980b9839da15e336ed770ce9..e7bdcc059a7181788c4ccfc599e9008156d58c48 100644 (file)
@@ -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();
             }