瀏覽代碼

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

Fix MK3 compilation issue with Arduino 1.8.x
mkbel 6 年之前
父節點
當前提交
4cc127feac
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();