🚸 Tweak MKS UI G-code console

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-12-25 00:45:05 -06:00
1 parent 01a0f3a8cf
commit af08f16efc
3 files changed
+6 -8

No files matched your search

+1 -1
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);
}