Pārlūkot izejas kodu

Fix MK3 compilation issue with Arduino 1.8.x

see https://github.com/prusa3d/Prusa-Firmware/issues/614#issuecomment-385034066
3d-gussner 6 gadi atpakaļ
vecāks
revīzija
8f032ad122
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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();