Browse Source

floppy: Terminate in-progress write when USB comms are cleared

Keir Fraser 5 years ago
parent
commit
e1bac226c3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/floppy.c

+ 2 - 0
src/floppy.c

@@ -895,6 +895,8 @@ bad_command:
 
 static void floppy_configure(void)
 {
+    auto_off_arm();
+    floppy_flux_end();
     floppy_state = ST_command_wait;
     u_cons = u_prod = 0;
 }