Sfoglia il codice sorgente

Merge branch 'Marlin_v1' of https://github.com/ErikZalm/Marlin into Marlin_v1

Bernhard Kubicek 13 anni fa
parent
commit
977fd2b2c7
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp Vedi File

@@ -200,7 +200,7 @@ int temp2analog(int celsius) {
200 200
     }
201 201
 
202 202
     // Overflow: Set to last value in the table
203
-    if (i == NUMTEMPS_0) raw = heater_0_temptable[i-1][0];
203
+    if (i == NUMTEMPS_HEATER_0) raw = heater_0_temptable[i-1][0];
204 204
 
205 205
     return (1023 * OVERSAMPLENR) - raw;
206 206
   #elif defined HEATER_0_USES_AD595
@@ -544,4 +544,4 @@ ISR(TIMER0_COMPB_vect)
544 544
   #endif
545 545
   }
546 546
 }
547
-
547
+


Loading…
Annulla
Salva