浏览代码

Fix call parameter of suspend_power_down()

tags/v1.9
Jun Wako 9 年前
父节点
当前提交
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();
}

正在加载...
取消
保存