From a2d0072635053a499498b942f6fc99a3217cf2bb Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Sat, 1 Feb 2025 12:17:32 +0100 Subject: [PATCH] Nettoyage de code --- Main.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.ino b/Main.ino index 0c613e6..3f5e5f8 100644 --- a/Main.ino +++ b/Main.ino @@ -148,7 +148,7 @@ void loop() case State::Turn90Yellow: my_IO.setDirWithAngularSpeed(-90.0f); - if(my_IO.getAngle(Axes::Z) < -80.0f) + if(my_IO.getAngle(Axes::Z) <= -80.0f) { actual_state = State::ForwardToSceneEdge; }