diff --git a/src/driveModi/Modi/Autopilot/autopilot.cpp b/src/driveModi/Modi/Autopilot/autopilot.cpp index cdfc5eb..6f2b630 100644 --- a/src/driveModi/Modi/Autopilot/autopilot.cpp +++ b/src/driveModi/Modi/Autopilot/autopilot.cpp @@ -83,7 +83,7 @@ void Autopilot::run() this->selfDriving(); break; - case SelfDrivingRotate: + case State::SelfDrivingRotate: this->checkButtonInput(); this->rotate(); break;