Sfoglia il codice sorgente

Fix MK3 compilation issue with Arduino 1.8.x

see https://github.com/prusa3d/Prusa-Firmware/issues/614#issuecomment-385034066
3d-gussner 6 anni fa
parent
commit
8f032ad122
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Firmware/xyzcal.cpp

+ 1 - 1
Firmware/xyzcal.cpp

@@ -32,7 +32,7 @@
 
 #define _PI 3.14159265F
 
-extern long count_position[NUM_AXIS];
+extern volatile long count_position[NUM_AXIS];
 
 uint8_t check_pinda_0();
 uint8_t check_pinda_1();