|
@@ -1,21 +1,6 @@
|
|
|
/* -*- c++ -*- */
|
|
|
-
|
|
|
-/*
|
|
|
- Reprap firmware based on Sprinter and grbl.
|
|
|
- Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
|
|
-
|
|
|
- This program is free software: you can redistribute it and/or modify
|
|
|
- it under the terms of the GNU General Public License as published by
|
|
|
- the Free Software Foundation, either version 3 of the License, or
|
|
|
- (at your option) any later version.
|
|
|
-
|
|
|
- This program is distributed in the hope that it will be useful,
|
|
|
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
- GNU General Public License for more details.
|
|
|
-
|
|
|
- You should have received a copy of the GNU General Public License
|
|
|
- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
+/**
|
|
|
+ * @file
|
|
|
*/
|
|
|
|
|
|
/*
|
|
@@ -6356,6 +6341,7 @@ void Stop()
|
|
|
disable_heater();
|
|
|
if(Stopped == false) {
|
|
|
Stopped = true;
|
|
|
+ lcd_print_stop();
|
|
|
Stopped_gcode_LastN = gcode_LastN; // Save last g_code for restart
|
|
|
SERIAL_ERROR_START;
|
|
|
SERIAL_ERRORLNRPGM(MSG_ERR_STOPPED);
|