瀏覽代碼

firmware: Reset USB connection and Act LED on watchdog timeout.

Keir Fraser 4 年之前
父節點
當前提交
43a0076d54
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/floppy.c

+ 3 - 1
src/floppy.c

@@ -1286,8 +1286,10 @@ void floppy_process(void)
 {
     int len;
 
-    if (auto_off.armed && (time_since(auto_off.deadline) >= 0))
+    if (auto_off.armed && (time_since(auto_off.deadline) >= 0)) {
+        floppy_configure();
         quiesce_drives();
+    }
 
     switch (floppy_state) {