Various Laser / Spindle improvements (#15335)
This commit is contained in:
@@ -570,8 +570,12 @@ void MarlinUI::draw_status_screen() {
|
||||
// Laser / Spindle
|
||||
#if DO_DRAW_CUTTER
|
||||
if (cutter.power && PAGE_CONTAINS(STATUS_CUTTER_TEXT_Y - INFO_FONT_ASCENT, STATUS_CUTTER_TEXT_Y - 1)) {
|
||||
lcd_put_u8str(STATUS_CUTTER_TEXT_X, STATUS_CUTTER_TEXT_Y, i16tostr3rj(cutter.powerPercent(cutter.power)));
|
||||
lcd_put_wchar('%');
|
||||
lcd_put_u8str(STATUS_CUTTER_TEXT_X, STATUS_CUTTER_TEXT_Y, i16tostr3rj(cutter.power));
|
||||
#if CUTTER_DISPLAY_IS(PERCENT)
|
||||
lcd_put_wchar('%');
|
||||
#elif CUTTER_DISPLAY_IS(RPM)
|
||||
lcd_put_wchar('K');
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user