Selaa lähdekoodia

Parenthesize IS_SD_PRINTING defensively

Yuri D'Elia 2 vuotta sitten
vanhempi
commit
001876a807
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Firmware/cmdqueue.cpp

+ 1 - 1
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) {