Browse Source

Merge pull request #5431 from esenapaj/Suppress-warnings,-etc

Suppress warnings, etc
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
f089279263
  1. 1
      Marlin/Marlin_main.cpp
  2. 4
      Marlin/planner.h

1
Marlin/Marlin_main.cpp

@ -1349,7 +1349,6 @@ void update_software_endstops(AxisEnum axis) {
float offs = LOGICAL_POSITION(0, axis);
#if ENABLED(DUAL_X_CARRIAGE)
bool did_update = false;
if (axis == X_AXIS) {
// In Dual X mode hotend_offset[X] is T1's home position

4
Marlin/planner.h

@ -348,11 +348,11 @@ class Planner {
static void set_position_mm(const AxisEnum axis, const float &v);
static FORCE_INLINE void set_z_position_mm(const float &z) { set_position_mm(Z_AXIS, z); }
static FORCE_INLINE void set_e_position_mm(const float &e) {
set_position_mm((AxisEnum)E_AXIS
set_position_mm(AxisEnum(E_AXIS
#if ENABLED(DISTINCT_E_FACTORS)
+ active_extruder
#endif
, e);
), e);
}
/**

Loading…
Cancel
Save