Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TPixy-Interface
Fork of ManualControlFinal by
Diff: Drivers/motor_driver_l.cpp
- Revision:
- 13:2a00b7a6f4bd
- Parent:
- 9:fe56b888985c
- Child:
- 24:e88753f090b8
diff -r 172c448a359e -r 2a00b7a6f4bd Drivers/motor_driver_l.cpp
--- 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 )
