From d37a2a173a91c0ea68a72b1bea0adfa94a752e8f 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 addc1e6e..c2c634bb 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) {