From ac69fad96d0eeafc65016328c5fdf2ee08e2cd0a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 18 Apr 2016 00:05:22 -0700 Subject: [PATCH] lowercase "stop" function --- Marlin/Marlin.h | 1 - Marlin/Marlin_main.cpp | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index 45bf622471..7c4096205c 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 5fbb21f0ed..1162262bd4 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;