Browse Source

Merge pull request #1714 from thinkyhead/fixup_temperature

Give all temp arrays 4 indices
Scott Lahteine 10 years ago
parent
commit
d841028805
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/temperature.cpp

+ 3
- 3
Marlin/temperature.cpp View File

@@ -53,10 +53,10 @@
53 53
 //============================= public variables ============================
54 54
 //===========================================================================
55 55
 
56
-int target_temperature[EXTRUDERS] = { 0 };
56
+int target_temperature[4] = { 0 };
57 57
 int target_temperature_bed = 0;
58
-int current_temperature_raw[EXTRUDERS] = { 0 };
59
-float current_temperature[EXTRUDERS] = { 0.0 };
58
+int current_temperature_raw[4] = { 0 };
59
+float current_temperature[4] = { 0.0 };
60 60
 int current_temperature_bed_raw = 0;
61 61
 float current_temperature_bed = 0.0;
62 62
 #ifdef TEMP_SENSOR_1_AS_REDUNDANT

Loading…
Cancel
Save