ManualControl
Dependencies: TPixy-Interface
Fork of MbedOS_Robot_Team by
Diff: Drivers/motor_driver_l.cpp
- Revision:
- 13:2a00b7a6f4bd
- Parent:
- 9:fe56b888985c
- Child:
- 24:e88753f090b8
--- a/Drivers/motor_driver_l.cpp Sat Mar 03 00:33:41 2018 +0000 +++ b/Drivers/motor_driver_l.cpp Sat Mar 03 00:53:06 2018 +0000 @@ -55,7 +55,7 @@ * @param speed * @return motor_state_t the state of the motor driver *******************************************************************************/ -motor_state_t motorDriver_L_forward(int speed) +motor_state_t motorDriver_L_reverse(int speed) { if( motor_status != MOTOR_UNINIT ) @@ -77,7 +77,7 @@ * @param speed * @return motor_state_t the state of the motor driver *******************************************************************************/ -motor_state_t motorDriver_L_reverse(int speed) +motor_state_t motorDriver_L_forward(int speed) { if( motor_status != MOTOR_UNINIT )