🐛 Fix bed/chamber PID P edit (#24861)

This commit is contained in:
InsanityAutomation 2022-10-17 15:17:51 -04:00 committed by Scott Lahteine
parent 9ae0789166
commit 6a084e3704

View File

@ -222,10 +222,10 @@ void menu_backlash();
void apply_PID_p(const int8_t e) { void apply_PID_p(const int8_t e) {
switch (e) { switch (e) {
#if ENABLED(PIDTEMPBED) #if ENABLED(PIDTEMPBED)
case H_BED: thermalManager.temp_bed.pid.set_Ki(raw_Ki); break; case H_BED: thermalManager.temp_bed.pid.set_Kp(raw_Kp); break;
#endif #endif
#if ENABLED(PIDTEMPCHAMBER) #if ENABLED(PIDTEMPCHAMBER)
case H_CHAMBER: thermalManager.temp_chamber.pid.set_Ki(raw_Ki); break; case H_CHAMBER: thermalManager.temp_chamber.pid.set_Kp(raw_Kp); break;
#endif #endif
default: default:
#if ENABLED(PIDTEMP) #if ENABLED(PIDTEMP)