diff --git a/PID_v1.cpp b/PID_v1.cpp index 0008253..3fa08fe 100644 --- a/PID_v1.cpp +++ b/PID_v1.cpp @@ -177,7 +177,7 @@ void PID2::SetMode(int Mode) bool newAuto = (Mode == AUTOMATIC); if(newAuto && !inAuto) { /*we just went from manual to auto*/ - PID::Initialize(); + PID2::Initialize(); } inAuto = newAuto; }