Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🩹 Fix Sensorless Homing Current Warning #27366

Conversation

thisiskeithb
Copy link
Member

@thisiskeithb thisiskeithb commented Aug 23, 2024

Description

#26714 added sensorless homing current warnings, but only used the generic USE_SENSORLESS macro. This means you would get a warning for every axis, even for those without sensorless homing enabled. There are now axis-specific flags included in each conditional to to prevent unnecessary warnings.

I also added the ability to suppress these warnings with a NO_HOMING_CURRENT_WARNING define like most other warnings we add.

Requirements

TMCs with sensorless homing

Benefits

Users won't receive warnings to lower homing current on an axis they aren't using sensorless homing on (primarily Z).

Related Issues

@thinkyhead thinkyhead merged commit a664587 into MarlinFirmware:bugfix-2.1.x Aug 23, 2024
63 checks passed
@thisiskeithb thisiskeithb deleted the pr/fix_sensorless_homing_current_warning branch August 23, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants