0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 07:29:33 +00:00

Merge pull request #3687 from thinkyhead/rc_localize_babystepping

Use AxisEnum with _lcd_babystep()
This commit is contained in:
Scott Lahteine 2016-05-05 21:15:52 -07:00
commit d7819298ca

View file

@ -552,7 +552,7 @@ void lcd_set_home_offsets() {
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();
if (encoderPosition) {
int distance = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR;