Skip to content
Snippets Groups Projects
Commit 57aaa911 authored by Bob-the-Kuhn's avatar Bob-the-Kuhn
Browse files

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

parents 9dd4252b 6a71df29
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ void Babystep::add_mm(const AxisEnum axis, const float &mm) { ...@@ -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]); 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) #if ENABLED(BABYSTEP_WITHOUT_HOMING)
#define CAN_BABYSTEP(AXIS) true #define CAN_BABYSTEP(AXIS) true
......
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
} }
#endif #endif
#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 add_mm(const AxisEnum axis, const float &mm);
static void task(); static void task();
private: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment