Flex robot / Mbed 2 deprecated FlexV1

Dependencies:   mbed Servo MC33926 encoder

Fork of FlexV1 by Ferréol GAGEY

Revision:
8:3c174bef1dbd
Parent:
2:f8bfb37b2e1f
Child:
9:7b0f9fd4586b
--- a/I2Cdev.cpp	Thu Jan 07 13:46:32 2021 +0000
+++ b/I2Cdev.cpp	Sat Mar 27 00:06:06 2021 +0000
@@ -260,7 +260,9 @@
     for(int i = 0; i < length; i++) {
         i2c.write(data[i]);
     }
+    
     i2c.stop();
+    
     return true;
 }