Browse Source

Fix MK3 compilation issue with Arduino 1.8.x

see https://github.com/prusa3d/Prusa-Firmware/issues/614#issuecomment-385034066
3d-gussner 6 years ago
parent
commit
8f032ad122
1 changed files with 1 additions and 1 deletions
  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();