Browse Source

Clarify ExtUI command injection

Scott Lahteine 6 years ago
parent
commit
de8fee6aea

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

795
 
795
 
796
   float getFeedrate_percent() { return feedrate_percentage; }
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
     queue.inject_P(gcode);
799
     queue.inject_P(gcode);
800
   }
800
   }
801
 
801
 

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

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

Loading…
Cancel
Save