Sfoglia il codice sorgente

cmdqueue_reset fix

PavelSindler 6 anni fa
parent
commit
1e729048dc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Firmware/cmdqueue.cpp

+ 1 - 1
Firmware/cmdqueue.cpp

@@ -94,7 +94,7 @@ void cmdqueue_reset()
     bufindr = 0;
     bufindw = 0;
     buflen = 0;
-    cmdbuffer_front_already_processed = false;
+    cmdbuffer_front_already_processed = true;
 }
 
 // How long a string could be pushed to the front of the command queue?