Browse Source

Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x

pull/1/head
Bob-the-Kuhn 6 years ago
parent
commit
57aaa9110b
  1. 2
      Marlin/src/feature/babystep.cpp
  2. 2
      Marlin/src/feature/babystep.h

2
Marlin/src/feature/babystep.cpp

@ -64,7 +64,7 @@ void Babystep::add_mm(const AxisEnum axis, const float &mm) {
add_steps(axis, mm * planner.settings.axis_steps_per_mm[axis]);
}
void Babystep::add_steps(const AxisEnum axis, const int32_t distance) {
void Babystep::add_steps(const AxisEnum axis, const int16_t distance) {
#if ENABLED(BABYSTEP_WITHOUT_HOMING)
#define CAN_BABYSTEP(AXIS) true

2
Marlin/src/feature/babystep.h

@ -53,7 +53,7 @@ public:
}
#endif
#endif
static void add_steps(const AxisEnum axis, const int32_t distance);
static void add_steps(const AxisEnum axis, const int16_t distance);
static void add_mm(const AxisEnum axis, const float &mm);
static void task();
private:

Loading…
Cancel
Save