Browse Source

Merge pull request #3909 from thinkyhead/fix_array_inits

Fix some array initializations
pull/1/head
Scott Lahteine 9 years ago
parent
commit
189e60db55
  1. 2
      Marlin/stepper.h
  2. 2
      Marlin/ultralcd.cpp

2
Marlin/stepper.h

@ -139,7 +139,7 @@ class Stepper {
// //
// Current direction of stepper motors (+1 or -1) // Current direction of stepper motors (+1 or -1)
// //
volatile signed char count_direction[NUM_AXIS] = { 1 }; volatile signed char count_direction[NUM_AXIS] = { 1, 1, 1, 1 };
public: public:

2
Marlin/ultralcd.cpp

@ -1369,7 +1369,7 @@ static void lcd_control_menu() {
#if ENABLED(PID_AUTOTUNE_MENU) #if ENABLED(PID_AUTOTUNE_MENU)
#if ENABLED(PIDTEMP) #if ENABLED(PIDTEMP)
int autotune_temp[EXTRUDERS] = { 150 }; int autotune_temp[EXTRUDERS] = ARRAY_BY_EXTRUDERS1(150);
const int heater_maxtemp[EXTRUDERS] = ARRAY_BY_EXTRUDERS(HEATER_0_MAXTEMP, HEATER_1_MAXTEMP, HEATER_2_MAXTEMP, HEATER_3_MAXTEMP); const int heater_maxtemp[EXTRUDERS] = ARRAY_BY_EXTRUDERS(HEATER_0_MAXTEMP, HEATER_1_MAXTEMP, HEATER_2_MAXTEMP, HEATER_3_MAXTEMP);
#endif #endif

Loading…
Cancel
Save