🚸 Tweak MKS UI G-code console

This commit is contained in:
Scott Lahteine
2021-10-17 20:24:41 -05:00
committed by Scott Lahteine
parent 01a0f3a8cf
commit af08f16efc
3 changed files with 6 additions and 8 deletions

View File

@ -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);
}