PSL_2021 / servomotor_MX12_Lorenzo

Dependents:   PSL_ROBOT_lorenzo robot_lorenzo recepteur_mbed_os_6

Revision:
14:5a0c7b30f8c0
Parent:
13:ccda9a56fef1
Child:
22:8fa806e3ece4
--- a/MX12.cpp	Sun Nov 07 10:36:06 2021 +0000
+++ b/MX12.cpp	Sun Nov 07 10:54:45 2021 +0000
@@ -317,6 +317,12 @@
                 /* set seriel state to Idle */
                 _bus_state = SerialState::Idle;
                 break;
+                
+            default:
+                
+                /* unexpected case. If it occurs it would be due to a 
+                 * code error of this class  */
+                break
         }        
     }
 }