Browse Source

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

Bernhard Kubicek 13 years ago
parent
commit
977fd2b2c7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp View File

200
     }
200
     }
201
 
201
 
202
     // Overflow: Set to last value in the table
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
     return (1023 * OVERSAMPLENR) - raw;
205
     return (1023 * OVERSAMPLENR) - raw;
206
   #elif defined HEATER_0_USES_AD595
206
   #elif defined HEATER_0_USES_AD595
544
   #endif
544
   #endif
545
   }
545
   }
546
 }
546
 }
547
-
547
+


Loading…
Cancel
Save