Skip to content

HOMING_CURRENT: fix M920 display - #28519

Open
narno2202 wants to merge 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
narno2202:Fix_M920_display
Open

HOMING_CURRENT: fix M920 display#28519
narno2202 wants to merge 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
narno2202:Fix_M920_display

Conversation

@narno2202

Copy link
Copy Markdown
Contributor

Description

Always with the Bigtreetech TFT refactoring, I noticed that when I parse M920 response, there is an empty M920 line between the first M920 line which concerns X, Y or Z homing current and the next response lines if homing current exists for other steppers. This is related to an empty call to say_M920(forReplay).
If you set homing current but not SENSORLESS_HOMING, M920 is empty. The code is guarded in M920_report() by axis (stepper) HAS_SENSORLESS but sensorless homing is not mandatory to set a homing current. Change the guards to axis (stepper) HAS_HOME_CURRENT.

Requirements

Benefits

M920 displays what is expected

Configurations

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant