🩹 IA-Creality minor cleanup

This commit is contained in:
Scott Lahteine 2024-04-24 18:09:32 -05:00
parent 489ef6e5e1
commit 2270bf41d7

View File

@ -96,7 +96,6 @@ void moveAxis(const AxisEnum axis, const int8_t direction) {
else else
TERN(BABYSTEP_HOTEND_Z_OFFSET, hotend_offset[active_extruder].z = new_offs, NOOP); TERN(BABYSTEP_HOTEND_Z_OFFSET, hotend_offset[active_extruder].z = new_offs, NOOP);
drawMessage_P(NUL_STR); // Clear the error drawMessage_P(NUL_STR); // Clear the error
drawAxisValue(axis);
} }
else else
drawMessage(GET_TEXT_F(MSG_LCD_SOFT_ENDSTOPS)); drawMessage(GET_TEXT_F(MSG_LCD_SOFT_ENDSTOPS));
@ -116,14 +115,12 @@ void moveAxis(const AxisEnum axis, const int8_t direction) {
else else
drawMessage_P(NUL_STR); // Clear the error drawMessage_P(NUL_STR); // Clear the error
drawAxisValue(axis);
#endif // !BABYSTEP_ZPROBE_OFFSET #endif // !BABYSTEP_ZPROBE_OFFSET
} }
#endif // HAS_BED_PROBE #endif // HAS_BED_PROBE
if (!ui.manual_move.processing) { if (diff && !ui.manual_move.processing) {
// Get motion limit from software endstops, if any // Get motion limit from software endstops, if any
float min, max; float min, max;
soft_endstop.get_manual_axis_limits(axis, min, max); soft_endstop.get_manual_axis_limits(axis, min, max);