Move M118 to cpp
This commit is contained in:
1 parent
811c32b85a
commit
379f16558e
3 files changed
+5
-6
No files matched your search
@@ -20,13 +20,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../gcode.h"
|
||||
|
||||
/**
|
||||
* M118: Display a message in the host console.
|
||||
*
|
||||
* A Append '// ' for an action command, as in OctoPrint
|
||||
* E Have the host 'echo:' the text
|
||||
*/
|
||||
void gcode_M118() {
|
||||
void GcodeSuite::M118() {
|
||||
if (parser.boolval('E')) SERIAL_ECHO_START();
|
||||
if (parser.boolval('A')) SERIAL_ECHOPGM("// ");
|
||||
SERIAL_ECHOLN(parser.string_arg);
|
||||
Reference in new issue
Block a user