Ver Fonte

Parenthesize IS_SD_PRINTING defensively

Yuri D'Elia há 2 anos atrás
pai
commit
001876a807
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {