Tweak babystep add_steps
This commit is contained in:
parent
bdfffee037
commit
6a71df2925
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Reference in a new issue