🚸 Tweak MKS UI G-code console
This commit is contained in:
parent
d685cbd5c3
commit
741e70541d
3 changed files with 6 additions and 8 deletions
|
|
@ -133,7 +133,7 @@ public:
|
|||
* Enqueue command(s) to run from SRAM. Drained by process_injected_command().
|
||||
* Aborts the current SRAM queue so only use for one or two commands.
|
||||
*/
|
||||
static inline void inject(char * const gcode) {
|
||||
static inline void inject(const char * const gcode) {
|
||||
strncpy(injected_commands, gcode, sizeof(injected_commands) - 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue