Sfoglia il codice sorgente

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

InsanityAutomation 1 anno fa
parent
commit
ce40836717
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/src/lcd/menu/menu_advanced.cpp

+ 2
- 2
Marlin/src/lcd/menu/menu_advanced.cpp Vedi File

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

Loading…
Annulla
Salva