Browse Source

Clarify ExtUI command injection

Scott Lahteine 6 years ago
parent
commit
de8fee6aea
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  2. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.h

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp View File

@@ -795,7 +795,7 @@ namespace ExtUI {
795 795
 
796 796
   float getFeedrate_percent() { return feedrate_percentage; }
797 797
 
798
-  void enqueueCommands_P(PGM_P const gcode) {
798
+  void injectCommands_P(PGM_P const gcode) {
799 799
     queue.inject_P(gcode);
800 800
   }
801 801
 

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.h View File

@@ -71,7 +71,7 @@ namespace ExtUI {
71 71
   bool isMachineHomed(); // Axis position most likely correct, steppers may have deactivated
72 72
   bool canMove(const axis_t);
73 73
   bool canMove(const extruder_t);
74
-  void enqueueCommands_P(PGM_P const);
74
+  void injectCommands_P(PGM_P const);
75 75
   bool commandsInQueue();
76 76
 
77 77
   bool isHeaterIdle(const heater_t);

Loading…
Cancel
Save