🐛 Fix quoted string value detection

This commit is contained in:
Scott Lahteine 2025-03-09 15:41:13 -05:00
parent e02de3a256
commit 126e78dcce

View file

@ -146,7 +146,7 @@ public:
if (b) {
if (param[ind]) {
char * const ptr = command_ptr + param[ind];
value_ptr = valid_number(ptr) ? ptr : nullptr;
value_ptr = (valid_number(ptr) || TERN0(GCODE_QUOTED_STRINGS, *(ptr - 1) == '"')) ? ptr : nullptr;
}
else
value_ptr = nullptr;