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; }