Browse Source

Clarify ExtUI command injection

pull/1/head
Scott Lahteine 5 years ago
parent
commit
de8fee6aea
  1. 2
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  2. 2
      Marlin/src/lcd/extensible_ui/ui_api.h

2
Marlin/src/lcd/extensible_ui/ui_api.cpp

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

2
Marlin/src/lcd/extensible_ui/ui_api.h

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

Loading…
Cancel
Save