소스 검색

Fix call parameter of suspend_power_down()

Jun Wako 10 년 전
부모
커밋
abf482de8e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      protocol/bluefruit/main.c
  2. 1 1
      protocol/pjrc/main.c

+ 1 - 1
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();
                 }

+ 1 - 1
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();
             }