Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 14, 2022
1 parent eb9bb39 commit 1aac7c3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Marlin/src/gcode/lcd/M73.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,13 @@ void GcodeSuite::M73() {
SERIAL_ECHO_START();
SERIAL_ECHOPGM(" M73");
#if ENABLED(SET_PROGRESS_PERCENT)
SERIAL_ECHOPGM(" Progress: ");
SERIAL_ECHO(TERN(PRINT_PROGRESS_SHOW_DECIMALS, permyriadtostr4(ui.get_progress_permyriad()), ui.get_progress_percent()));
SERIAL_ECHOPGM("%;");
SERIAL_ECHOPGM(" Progress: ", TERN(PRINT_PROGRESS_SHOW_DECIMALS, permyriadtostr4(ui.get_progress_permyriad()), ui.get_progress_percent()), "%;");
#endif
#if ENABLED(SET_REMAINING_TIME)
SERIAL_ECHOPGM(" Time left: ");
SERIAL_ECHO(ui.remaining_time / 60);
SERIAL_ECHOPGM("m;");
SERIAL_ECHOPGM(" Time left: ", ui.remaining_time / 60, "m;");
#endif
#if ENABLED(SET_INTERACTION_TIME)
SERIAL_ECHOPGM(" Change: ");
SERIAL_ECHO(ui.interaction_time / 60);
SERIAL_ECHOPGM("m;");
SERIAL_ECHOPGM(" Change: ", ui.interaction_time / 60, "m;");
#endif
SERIAL_EOL();
}
Expand Down

0 comments on commit 1aac7c3

Please sign in to comment.