🐛 Support the R parameter in temperature offsets (#4696)

Closes #4695

M109 R200 would be a valid temperature command
This commit is contained in:
Charlie Powell authored and GitHub committed 2023-01-16 17:16:37 +01:00
1 parent 7f3bd32d88
commit f64ed8aecf
1 file changed
+1 -1
+1 -1
View File
@@ -6113,7 +6113,7 @@ class SendQueue(PrependableQueue):
_temp_command_regex = re.compile(
r"^M(?P<command>104|109|140|190)(\s+T(?P<tool>\d+)|\s+S(?P<temperature>[-+]?\d*\.?\d*))+"
r"^M(?P<command>104|109|140|190)(\s+T(?P<tool>\d+)|\s+[SR](?P<temperature>[-+]?\d*\.?\d*))+"
)