From dd51ba73494d4ed8b3a24dfc55773c0a48117b13 Mon Sep 17 00:00:00 2001 From: clplaneguy Date: Fri, 5 Apr 2019 10:35:45 -0500 Subject: [PATCH] One more correction --- PID_v1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }