From 4f96161a387c3bc32ee084f14095e50ab9716b5e Mon Sep 17 00:00:00 2001 From: EnricoGuccii Date: Sun, 11 May 2025 21:42:04 +0200 Subject: add oled --- lib/motors/motors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/motors/motors.cpp') diff --git a/lib/motors/motors.cpp b/lib/motors/motors.cpp index d0e71b4..68c633d 100644 --- a/lib/motors/motors.cpp +++ b/lib/motors/motors.cpp @@ -123,7 +123,7 @@ void MOTORS::backward(int speed, int duration) } } -void MOTORS::leftTurn(int speed, int duration) +void MOTORS::rightTurn(int speed, int duration) { rightForward(speed); leftBackward(speed); @@ -134,7 +134,7 @@ void MOTORS::leftTurn(int speed, int duration) } } -void MOTORS::rightTurn(int speed, int duration) +void MOTORS::leftTurn(int speed, int duration) { rightBackward(speed); leftForward(speed); -- cgit v1.2.3