Telesensorics / Dynamixel

Dependents:   RobotArmDemo

Fork of Dynamixel by robot arm demo team

Revision:
3:37aa8024931e
Parent:
2:536f775454c3
Child:
4:fe2a6b66cb85
diff -r 536f775454c3 -r 37aa8024931e DynamixelBus.cpp
--- a/DynamixelBus.cpp	Tue Jan 19 19:49:27 2016 +0000
+++ b/DynamixelBus.cpp	Tue Jan 19 19:53:15 2016 +0000
@@ -199,7 +199,6 @@
     if( id != 0xFE )
     {
         t.start();
-        int rstart = t.read_us();
         while( t.read() < _responseTimeout )                
         {
             if (_uart.readable())
@@ -216,9 +215,7 @@
                 }
             }
         }
-        int rend = t.read_us();
         t.stop();
-  //      printf("readtime %d\r\n", rend - rstart);
     }
     
     _rxSelect = 0;