From ed374ffb57cbc4d5e48f02a99e0bfde40757be11 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Wed, 15 Sep 2021 21:55:43 +1000 Subject: [PATCH] Update PIDThread.cpp --- source/Core/Threads/PIDThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Core/Threads/PIDThread.cpp b/source/Core/Threads/PIDThread.cpp index f7721303..b87a488e 100644 --- a/source/Core/Threads/PIDThread.cpp +++ b/source/Core/Threads/PIDThread.cpp @@ -137,7 +137,7 @@ int32_t getPIDResultX10Watts(int32_t setpointDelta) { // so we basically double the need (gain = 2) to get what we want. return powerStore.update(TIP_THERMAL_MASS * setpointDelta, // the required power TIP_THERMAL_MASS, // Inertia, smaller numbers increase dominance of the previous value - 1, // gain + 2, // gain rate, // PID cycle frequency getX10WattageLimits()); }