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
   static bool enqueue_one(FSTR_P const fgcode);
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
    * Enqueue from program memory and return only when commands are actually enqueued
158
    * Enqueue from program memory and return only when commands are actually enqueued
153
    */
159
    */
154
   static void enqueue_now_P(PGM_P const pcmd);
160
   static void enqueue_now_P(PGM_P const pcmd);
253
   // Process the next "immediate" command (SRAM)
259
   // Process the next "immediate" command (SRAM)
254
   static bool process_injected_command();
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
   static void gcode_line_error(FSTR_P const ferr, const serial_index_t serial_ind);
262
   static void gcode_line_error(FSTR_P const ferr, const serial_index_t serial_ind);
263
 
263
 
264
   friend class GcodeSuite;
264
   friend class GcodeSuite;

Loading…
Cancel
Save