Browse Source

Merge pull request #3687 from thinkyhead/rc_localize_babystepping

Use AxisEnum with _lcd_babystep()
pull/1/head
Scott Lahteine 9 years ago
parent
commit
d7819298ca
  1. 2
      Marlin/ultralcd.cpp

2
Marlin/ultralcd.cpp

@ -552,7 +552,7 @@ void lcd_set_home_offsets() {
int babysteps_done = 0; int babysteps_done = 0;
static void _lcd_babystep(const int axis, const char* msg) { static void _lcd_babystep(const AxisEnum axis, const char* msg) {
ENCODER_DIRECTION_NORMAL(); ENCODER_DIRECTION_NORMAL();
if (encoderPosition) { if (encoderPosition) {
int distance = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR; int distance = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR;

Loading…
Cancel
Save