One more correction
This commit is contained in:
parent
1785439d1e
commit
dd51ba7349
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user