🚸 Tweak MKS UI G-code console
This commit is contained in:
committed by
Scott Lahteine
parent
01a0f3a8cf
commit
af08f16efc
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user