Procházet zdrojové kódy

M190 bed temp was never reached

João Brázio před 9 roky
rodič
revize
c6577aea60
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Zobrazit soubor

@@ -4307,7 +4307,7 @@ inline void gcode_M109() {
4307 4307
 
4308 4308
     cancel_heatup = false;
4309 4309
     millis_t now = millis(), next_temp_ms = now + 1000UL;
4310
-    while (!cancel_heatup && degTargetBed() != degBed()) {
4310
+    while (!cancel_heatup && fabs(degTargetBed() - degBed()) < 0.75f) {
4311 4311
       millis_t now = millis();
4312 4312
       if (now > next_temp_ms) { //Print Temp Reading every 1 second while heating up.
4313 4313
         next_temp_ms = now + 1000UL;

Loading…
Zrušit
Uložit