carte esclave petit robot

Dependencies:   mbed Herkulex_Library_2019 actions_Gr ident_crac actions_Pr

Revision:
39:124575240d09
Parent:
38:9295a9721acb
Child:
41:a71d06f292ac
--- a/main.cpp	Thu May 23 17:23:10 2019 +0000
+++ b/main.cpp	Thu May 23 18:42:51 2019 +0000
@@ -213,7 +213,9 @@
                 SendAck(ACKNOWLEDGE_HERKULEX, ACK_FIN_ACTION);
                 break;
 
-
+            case AVANT_RELACHE:
+                favant_relache=1;
+                break;
 
 
 #ifdef ROBOT_SMALL
@@ -268,9 +270,7 @@
                 break;
 
 
-            case AVANT_RELACHE:
-                favant_relache=1;
-                break;
+            
 
             case ARRIERE_RELACHE:
                 farriere_relache=1;