changes to motor library

Dependents:   pid-car-example

Fork of motor by Lawrence Harlow

Branch:
motorupdate
Revision:
23:96c36a38d83b
Parent:
22:85cf7b6b0422
Child:
24:15c6bbdbb0e4
--- a/motor.cpp	Wed Nov 30 11:32:36 2016 +0000
+++ b/motor.cpp	Wed Dec 07 16:00:30 2016 +0000
@@ -133,7 +133,7 @@
 }
         
         
-void sensorCorner(float &w1,float &w2,float theta,int speed)
+void sensorCorner(float &w1,float &w2,float theta,float speed)
 {   // when cornering left the left motor slows down more than the right hand side
     // may just replace with ACC and DECC