Parenthesize IS_SD_PRINTING defensively

This commit is contained in:
Yuri D'Elia 2022-12-15 08:13:38 +01:00 committed by 3d-gussner
parent de20fc6a5a
commit d37a2a173a

View File

@ -444,7 +444,7 @@ void get_command()
allow_when_stopped = true; allow_when_stopped = true;
// Handle the USB timer // Handle the USB timer
if ((*cmd_start == 'G') && !IS_SD_PRINTING) if ((*cmd_start == 'G') && !(IS_SD_PRINTING))
usb_timer.start(); usb_timer.start();
if (allow_when_stopped == false && Stopped == true) { if (allow_when_stopped == false && Stopped == true) {