Browse Source

🐛 Queue string followup (#22900)

Tanguy Pruvot 3 years ago
parent
commit
886c59dc10
No account linked to committer's email address
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/gcode/queue.h

+ 6
- 6
Marlin/src/gcode/queue.h View File

@@ -149,6 +149,12 @@ public:
149 149
   static bool enqueue_one(FSTR_P const fgcode);
150 150
 
151 151
   /**
152
+   * Enqueue with Serial Echo
153
+   * Return true on success
154
+   */
155
+  static bool enqueue_one(const char *cmd);
156
+
157
+  /**
152 158
    * Enqueue from program memory and return only when commands are actually enqueued
153 159
    */
154 160
   static void enqueue_now_P(PGM_P const pcmd);
@@ -253,12 +259,6 @@ private:
253 259
   // Process the next "immediate" command (SRAM)
254 260
   static bool process_injected_command();
255 261
 
256
-  /**
257
-   * Enqueue with Serial Echo
258
-   * Return true on success
259
-   */
260
-  static bool enqueue_one(const char *cmd);
261
-
262 262
   static void gcode_line_error(FSTR_P const ferr, const serial_index_t serial_ind);
263 263
 
264 264
   friend class GcodeSuite;

Loading…
Cancel
Save