Parenthesize IS_SD_PRINTING defensively
This commit is contained in:
parent
de20fc6a5a
commit
d37a2a173a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user