From 005cfea5c3b1396ae5328a1abd719cdb0f41d9a3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 7 Jan 2020 19:06:55 -0500 Subject: gcode: Fix detection of some "extended" g-code commands Fix typo that resulted in _get_extended_params() being called for all commands. Allow "extended" g-code commands to contain numbers. Signed-off-by: Kevin O'Connor --- docs/Command_Templates.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/Command_Templates.md b/docs/Command_Templates.md index e45fdf0e..1aa85d31 100644 --- a/docs/Command_Templates.md +++ b/docs/Command_Templates.md @@ -2,10 +2,10 @@ This document provides information on implementing G-Code command sequences in gcode_macro (and similar) config sections. ### G-Code Macro Naming -Case is not important when creating a G-Code macro name. MY_MACRO and + +Case is not important for the G-Code macro name - MY_MACRO and my_macro will evaluate the same and may be called in either upper or -lower case. If any numerical digits are used in the macro name they -must all be placed at the end of the name. +lower case. ### Formatting of G-Code in the config -- cgit v1.2.3-70-g09d2