gcode_process.c: added stop message when M2 is recieved.

This shall help stopping a simulator when G-code is done.
This commit is contained in:
Erik Jonsson 2014-08-05 19:19:32 +02:00 committed by Markus Hitter
parent e4349083b4
commit fa0e0d37e7
1 changed files with 1 additions and 0 deletions

View File

@ -363,6 +363,7 @@ void process_gcode_command() {
for (i = 0; i < NUM_HEATERS; i++)
temp_set(i, 0);
power_off();
serial_writestr_P(PSTR("\nstop\n"));
break;
case 112: