From d9e6dd4efec7a0f437453f9e5c78318c8ef42866 Mon Sep 17 00:00:00 2001 From: RoboMagus <68224306+RoboMagus@users.noreply.github.com> Date: Tue, 24 Jan 2023 21:48:35 +0100 Subject: [PATCH] Update usage comment --- Firmware/Marlin_main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 62c6c2b3c..c5ef4f5b6 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -6462,6 +6462,14 @@ Sigma_Exit: /*! ### M118 - Serial print M118: Serial print + #### Usage + + M118 [ A1 | E1 ] [ String ] + + #### Parameters + - `A1` - Prepend // to denote a comment or action command. Hosts like OctoPrint can interpret such commands to perform special actions. See your host’s documentation. + - `E1` - Prepend echo: to the message. Some hosts will display echo messages differently when preceded by echo:. + - `String` - Message string. If omitted, a blank line will be sent. */ case 118: { bool hasE, hasA = false;