From 001876a80712b35a7b16e6b8b3da09970cd60391 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Thu, 15 Dec 2022 08:13:38 +0100 Subject: [PATCH] Parenthesize IS_SD_PRINTING defensively --- Firmware/cmdqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/cmdqueue.cpp b/Firmware/cmdqueue.cpp index 66f9ff42b..c0636a76a 100755 --- a/Firmware/cmdqueue.cpp +++ b/Firmware/cmdqueue.cpp @@ -444,7 +444,7 @@ void get_command() allow_when_stopped = true; // Handle the USB timer - if ((*cmd_start == 'G') && !IS_SD_PRINTING) + if ((*cmd_start == 'G') && !(IS_SD_PRINTING)) usb_timer.start(); if (allow_when_stopped == false && Stopped == true) {