diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index 45bf62247..7c4096205 100644 --- a/Marlin/Marlin.h +++ b/Marlin/Marlin.h @@ -223,7 +223,6 @@ void ok_to_send(); void reset_bed_level(); void prepare_move(); void kill(const char*); -void Stop(); #if ENABLED(FILAMENT_RUNOUT_SENSOR) void handle_filament_runout(); diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 5fbb21f0e..1162262bd 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -491,6 +491,8 @@ static bool send_ok[BUFSIZE]; * *************************************************************************** */ +void stop(); + void get_available_commands(); void process_next_command(); @@ -1761,7 +1763,7 @@ static void setup_for_endstop_move() { SERIAL_ERRORLNPGM("Z-Probe failed to engage!"); LCD_ALERTMESSAGEPGM("Err: ZPROBE"); } - Stop(); + stop(); } #endif // Z_PROBE_ALLEN_KEY @@ -1865,7 +1867,7 @@ static void setup_for_endstop_move() { SERIAL_ERRORLNPGM("Z-Probe failed to retract!"); LCD_ALERTMESSAGEPGM("Err: ZPROBE"); } - Stop(); + stop(); } #endif // Z_PROBE_ALLEN_KEY @@ -8017,7 +8019,7 @@ void kill(const char* lcd_msg) { } #endif // FAST_PWM_FAN -void Stop() { +void stop() { disable_all_heaters(); if (IsRunning()) { Running = false;