Keisuke Sehara / Mbed 2 deprecated STM32_Whisking

Dependencies:   mbed

Revision:
4:fcf597f82632
Parent:
0:f736749c33d2
diff -r 991c6d5ce19d -r fcf597f82632 automaton.cpp
--- a/automaton.cpp	Thu May 17 13:37:43 2018 +0000
+++ b/automaton.cpp	Wed May 23 15:15:03 2018 +0000
@@ -50,6 +50,9 @@
             }
         }
         
+        // cleaning up the last state
+        teardown_prev();
+        
         // pc.printf("done.\r\n");
     }