From adf446f44f9503b98dbb705832f42b76f41eda3e Mon Sep 17 00:00:00 2001 From: Dave Gateman Date: Sun, 19 May 2024 11:05:46 -0600 Subject: [PATCH] Remove Redundant '%' while drawing cutter power _cutter_power2str (as defined in spindle_laser_types.h -> pcttostrpctrj ) already returns a %-terminated value, no need to add one. --- Marlin/src/lcd/HD44780/marlinui_HD44780.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Marlin/src/lcd/HD44780/marlinui_HD44780.cpp b/Marlin/src/lcd/HD44780/marlinui_HD44780.cpp index 0ab045bda37a..5a7eea1ec1f8 100644 --- a/Marlin/src/lcd/HD44780/marlinui_HD44780.cpp +++ b/Marlin/src/lcd/HD44780/marlinui_HD44780.cpp @@ -660,9 +660,6 @@ FORCE_INLINE void _draw_bed_status(const bool blink) { lcd_put_u8str(F("K")); #else lcd_put_u8str(cutter_power2str(cutter.unitPower)); - #if CUTTER_UNIT_IS(PERCENT) - lcd_put_u8str(F("%")); - #endif #endif lcd_put_u8str(F(" "));