Browse Source

Merge pull request #817 from 3d-gussner/MK3_fix6

Fix MK3 compilation issue with Arduino 1.8.x
mkbel 6 years ago
parent
commit
4cc127feac
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
 #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_0();
 uint8_t check_pinda_1();
 uint8_t check_pinda_1();