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

Remove Redundant '%' while drawing cutter power #27105

Merged
merged 1 commit into from
May 19, 2024

Conversation

toxicpsion
Copy link
Contributor

Description

cutter_power2str (as macro from spindle_laser_types.h -> pcttostrpctrj) already returns a '%'-terminated string, no need to add one while rendering UI.

Requirements

HAS_MARLINUI_HD44780
HAS_CUTTER
CUTTER_UNIT_IS(PERCENT)

Benefits

Cosmetic Fix

_cutter_power2str (as defined in spindle_laser_types.h -> pcttostrpctrj ) already returns a %-terminated value, no need to add one.
@thinkyhead thinkyhead merged commit 0e2bd06 into MarlinFirmware:bugfix-2.1.x May 19, 2024
62 checks passed
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.

None yet

2 participants