From f64ed8aecf57d064adfae928872601aa9fbd792e Mon Sep 17 00:00:00 2001 From: Charlie Powell <31997505+cp2004@users.noreply.github.com> Date: Mon, 16 Jan 2023 16:16:37 +0000 Subject: [PATCH] :bug: Support the R parameter in temperature offsets (#4696) Closes #4695 M109 R200 would be a valid temperature command --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index c684cc582..44f00b56f 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -6113,7 +6113,7 @@ class SendQueue(PrependableQueue): _temp_command_regex = re.compile( - r"^M(?P104|109|140|190)(\s+T(?P\d+)|\s+S(?P[-+]?\d*\.?\d*))+" + r"^M(?P104|109|140|190)(\s+T(?P\d+)|\s+[SR](?P[-+]?\d*\.?\d*))+" )