Drop extra initializers for vars initialized by EEPROM code
This commit is contained in:
@@ -95,6 +95,8 @@ uint32_t Planner::max_acceleration_steps_per_s2[XYZE_N],
|
||||
Planner::max_acceleration_mm_per_s2[XYZE_N]; // Use M201 to override by software
|
||||
|
||||
millis_t Planner::min_segment_time;
|
||||
|
||||
// Initialized by settings.load()
|
||||
float Planner::min_feedrate_mm_s,
|
||||
Planner::acceleration, // Normal acceleration mm/s^2 DEFAULT ACCELERATION for all printing moves. M204 SXXXX
|
||||
Planner::retract_acceleration, // Retract acceleration mm/s^2 filament pull-back and push-forward while standing still in the other axes M204 TXXXX
|
||||
@@ -111,7 +113,7 @@ float Planner::min_feedrate_mm_s,
|
||||
#endif
|
||||
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
float Planner::z_fade_height,
|
||||
float Planner::z_fade_height, // Initialized by settings.load()
|
||||
Planner::inverse_z_fade_height;
|
||||
#endif
|
||||
|
||||
@@ -143,8 +145,8 @@ float Planner::previous_speed[NUM_AXIS],
|
||||
#endif
|
||||
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
float Planner::extruder_advance_k = LIN_ADVANCE_K,
|
||||
Planner::advance_ed_ratio = LIN_ADVANCE_E_D_RATIO,
|
||||
float Planner::extruder_advance_k, // Initialized by settings.load()
|
||||
Planner::advance_ed_ratio, // Initialized by settings.load()
|
||||
Planner::position_float[NUM_AXIS] = { 0 };
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user