From de8fee6aea9172f2b2cc430c16fdf76d9a6d3987 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 27 Jun 2019 14:11:02 -0500 Subject: [PATCH] Clarify ExtUI command injection --- Marlin/src/lcd/extensible_ui/ui_api.cpp | 2 +- Marlin/src/lcd/extensible_ui/ui_api.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/extensible_ui/ui_api.cpp b/Marlin/src/lcd/extensible_ui/ui_api.cpp index 32008afc2..d4eb9617f 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.cpp +++ b/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); } diff --git a/Marlin/src/lcd/extensible_ui/ui_api.h b/Marlin/src/lcd/extensible_ui/ui_api.h index a187cc609..cb59e9af8 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.h +++ b/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);