From 64128a5bcb46d9428ff9acc4f45fc79381c90322 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 10 Oct 2021 01:05:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Queue=20string=20followup=20(#22?= =?UTF-8?q?900)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/queue.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Marlin/src/gcode/queue.h b/Marlin/src/gcode/queue.h index c5562da3aa..2e3e26d179 100644 --- a/Marlin/src/gcode/queue.h +++ b/Marlin/src/gcode/queue.h @@ -148,6 +148,12 @@ public: */ static bool enqueue_one(FSTR_P const fgcode); + /** + * Enqueue with Serial Echo + * Return true on success + */ + static bool enqueue_one(const char *cmd); + /** * Enqueue from program memory and return only when commands are actually enqueued */ @@ -253,12 +259,6 @@ private: // Process the next "immediate" command (SRAM) static bool process_injected_command(); - /** - * Enqueue with Serial Echo - * Return true on success - */ - static bool enqueue_one(const char *cmd); - static void gcode_line_error(FSTR_P const ferr, const serial_index_t serial_ind); friend class GcodeSuite;