♻️ Encapsulate PID in class (#24389)

This commit is contained in:
Scott Lahteine
2022-07-03 10:32:47 -05:00
committed by GitHub
parent 9baeeedd69
commit 54e7b933cd
13 changed files with 219 additions and 301 deletions

View File

@@ -123,7 +123,7 @@ void cubic_b_spline(
for (float t = 0; t < 1;) {
thermalManager.manage_heater();
thermalManager.task();
millis_t now = millis();
if (ELAPSED(now, next_idle_ms)) {
next_idle_ms = now + 200UL;