浏览代码

increased limit buffer size

titi 5 年之前
父节点
当前提交
c0f2849132
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Atm_AccelStepper.h

+ 1 - 1
Atm_AccelStepper.h

@@ -82,7 +82,7 @@ class Atm_AccelStepper: public Machine {
   bool limitHigh_State_raw;
   bool limitHigh_State_raw;
   bool limitLow_State_prev;
   bool limitLow_State_prev;
   bool limitHigh_State_prev;
   bool limitHigh_State_prev;
-  const static int limit_buf_size = 16 ;
+  const static int limit_buf_size = 20 ;
   bool limitLow_state_buf [limit_buf_size] ;
   bool limitLow_state_buf [limit_buf_size] ;
   int limitLow_state_total = 0 ;
   int limitLow_state_total = 0 ;
   int limitLow_buf_head ;
   int limitLow_buf_head ;