Browse Source

Merge pull request #1714 from thinkyhead/fixup_temperature

Give all temp arrays 4 indices
pull/1/head
Scott Lahteine 10 years ago
parent
commit
d841028805
  1. 6
      Marlin/temperature.cpp

6
Marlin/temperature.cpp

@ -53,10 +53,10 @@
//============================= public variables ============================ //============================= public variables ============================
//=========================================================================== //===========================================================================
int target_temperature[EXTRUDERS] = { 0 }; int target_temperature[4] = { 0 };
int target_temperature_bed = 0; int target_temperature_bed = 0;
int current_temperature_raw[EXTRUDERS] = { 0 }; int current_temperature_raw[4] = { 0 };
float current_temperature[EXTRUDERS] = { 0.0 }; float current_temperature[4] = { 0.0 };
int current_temperature_bed_raw = 0; int current_temperature_bed_raw = 0;
float current_temperature_bed = 0.0; float current_temperature_bed = 0.0;
#ifdef TEMP_SENSOR_1_AS_REDUNDANT #ifdef TEMP_SENSOR_1_AS_REDUNDANT

Loading…
Cancel
Save