From 119dc10b8fe8f5fb9e1b8a3d5e75ea49e8b6ee37 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sat, 17 Dec 2022 16:03:03 +0100 Subject: [PATCH] Rename print_stop() to lcd_print_stop_finish() for clarity --- Firmware/ultralcd.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 8d510f80a..747a89a63 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -819,7 +819,7 @@ void lcd_status_screen() // NOT static due to using ins } } -void print_stop(); +void lcd_print_stop_finish(); void lcd_commands() { @@ -837,7 +837,7 @@ void lcd_commands() lcd_setstatuspgm(_T(MSG_PRINT_ABORTED)); lcd_commands_type = LcdCommands::Idle; lcd_commands_step = 0; - print_stop(); + lcd_print_stop_finish(); } } @@ -5863,7 +5863,7 @@ static void lcd_sd_updir() } // continue stopping the print from the main loop after lcd_print_stop() is called -void print_stop() +void lcd_print_stop_finish() { // save printing time stoptime = _millis(); @@ -5908,9 +5908,9 @@ void print_stop() void lcd_print_stop() { - // UnconditionalStop() will internally cause planner_abort_hard(), meaning we _cannot_ plan - // any more move in this call! Any further move must happen inside print_stop(), which is called - // by the main loop one iteration later. + // UnconditionalStop() will internally cause planner_abort_hard(), meaning we _cannot_ plan any + // more move in this call! Any further move must happen inside lcd_print_stop_finish(), which is + // called by the main loop one iteration later. UnconditionalStop(); if (!card.sdprinting) {