Skip to content

Commit

Permalink
🎨 Misc. code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 3, 2021
1 parent 8a4fec9 commit bbce951
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
22 changes: 11 additions & 11 deletions Marlin/src/gcode/stats/M75-M78.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,24 @@ void GcodeSuite::M77() {
#if ENABLED(PRINTCOUNTER)

/**
* M78: Show print statistics
*/
* M78: Show print statistics
*/
void GcodeSuite::M78() {
if (parser.intval('S') == 78) { // "M78 S78" will reset the statistics
print_job_timer.initStats();
ui.reset_status();
print_job_timer.initStats();
ui.reset_status();
return;
}
}

#if HAS_SERVICE_INTERVALS
#if HAS_SERVICE_INTERVALS
if (parser.seenval('R')) {
print_job_timer.resetServiceInterval(parser.value_int());
ui.reset_status();
print_job_timer.resetServiceInterval(parser.value_int());
ui.reset_status();
return;
}
#endif
}
#endif

print_job_timer.showStats();
print_job_timer.showStats();
}

#endif // PRINTCOUNTER
1 change: 0 additions & 1 deletion Marlin/src/lcd/extui/mks_ui/tft_Language_ru.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@
#define TITLE_HOME_RU "Home"
#define TITLE_EXTRUDE_RU "экструзия"
#define TITLE_LEVELING_RU "уровень"
#define TITLE_MLEVELING_RU "углы"
#define TITLE_SET_RU "настройки"
#define TITLE_MORE_RU "больше"
#define TITLE_CHOOSEFILE_RU "файла"
Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/lcd/extui/mks_ui/tft_Language_sp.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#define PRINT_TEXT_SP "Imprimir"
#define EXTRUDE_TEXT_SP "Extrusor"
#define LEVELING_TEXT_SP "Leveling"
#define MLEVELING_TEXT_SP "Leveling"
#define AUTO_LEVELING_TEXT_SP "Autolevel"
#define SET_TEXT_SP "Config"
#define MORE_TEXT_SP "Más"
Expand All @@ -53,7 +52,6 @@
#define TOOL_MOVE_SP "Mover"
#define TOOL_HOME_SP "Origen"
#define TOOL_LEVELING_SP "Leveling"
#define TOOL_MLEVELING_SP "Leveling"
#define TOOL_AUTO_LEVELING_SP "Autolevel"
#define TOOL_FILAMENT_SP "Filamento"
#define TOOL_MORE_SP "Más"
Expand Down

0 comments on commit bbce951

Please sign in to comment.