One more correction

This commit is contained in:
clplaneguy 2019-04-05 10:35:45 -05:00 committed by GitHub
parent 1785439d1e
commit dd51ba7349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ void PID2::SetMode(int Mode)
bool newAuto = (Mode == AUTOMATIC); bool newAuto = (Mode == AUTOMATIC);
if(newAuto && !inAuto) if(newAuto && !inAuto)
{ /*we just went from manual to auto*/ { /*we just went from manual to auto*/
PID::Initialize(); PID2::Initialize();
} }
inAuto = newAuto; inAuto = newAuto;
} }