Sfoglia il codice sorgente

Also fix temperature externs

Scott Lahteine 9 anni fa
parent
commit
fe29bdd72b
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      Marlin/temperature.h

+ 3
- 3
Marlin/temperature.h Vedi File

@@ -41,10 +41,10 @@ void manage_heater(); //it is critical that this is called periodically.
41 41
 
42 42
 // low level conversion routines
43 43
 // do not use these routines and variables outside of temperature.cpp
44
-extern int target_temperature[EXTRUDERS];  
45
-extern float current_temperature[EXTRUDERS];
44
+extern int target_temperature[4];  
45
+extern float current_temperature[4];
46 46
 #ifdef SHOW_TEMP_ADC_VALUES
47
-  extern int current_temperature_raw[EXTRUDERS];
47
+  extern int current_temperature_raw[4];
48 48
   extern int current_temperature_bed_raw;
49 49
 #endif
50 50
 extern int target_temperature_bed;

Loading…
Annulla
Salva