♻️ Encapsulate PID in class (#24389)

This commit is contained in:
Scott Lahteine
2022-07-03 10:32:47 -05:00
parent 678955949f
commit e4f85e8fbc
13 changed files with 219 additions and 301 deletions

View File

@ -62,7 +62,7 @@
#define USB_HOST_MANUAL_POLL // Optimization to shut off IRQ automatically
// Workarounds to keep Marlin's watchdog timer from barking...
void marlin_yield() { thermalManager.manage_heater(); }
void marlin_yield() { thermalManager.task(); }
#define SYSTEM_OR_SPECIAL_YIELD(...) marlin_yield();
#define delay(x) safe_delay(x)