浏览代码

removed serial debug printing

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

+ 5 - 5
Atm_AccelStepper.cpp

@@ -505,11 +505,11 @@ int Atm_AccelStepper::limitLow_avg(bool limistate){
   } else {
     limitLow_buf_head++;
   }
-  for (int i =0; i<limit_buf_size; i++){
-    Serial.print(limitLow_state_buf[i]);
-    Serial.print(" ");
-  }
-  Serial.println();
+  // for (int i =0; i<limit_buf_size; i++){
+  //   Serial.print(limitLow_state_buf[i]);
+  //   Serial.print(" ");
+  // }
+  // Serial.println();
   return limitLow_state_total > limit_buf_size / 2; //all values should agree
 }