From 68cd2984553c2c27252ca6e793e0421cd47610d1 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Fri, 26 Dec 2014 19:04:14 -0600 Subject: [PATCH] auto-sync --- firmware/hw_layer/stepper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/firmware/hw_layer/stepper.cpp b/firmware/hw_layer/stepper.cpp index 3b8fd99d80..b46a72ae53 100644 --- a/firmware/hw_layer/stepper.cpp +++ b/firmware/hw_layer/stepper.cpp @@ -10,7 +10,7 @@ #include "stepper.h" #include "pin_repository.h" -#define ST_DELAY_MS 20 +#define ST_DELAY_MS 200 #define ST_COUNT 200 @@ -21,7 +21,6 @@ static msg_t stThread(StepperMotor *motor) { for (int i = 0; i < ST_COUNT; i++) { motor->pulse(); } - } void StepperMotor::pulse() { @@ -31,7 +30,6 @@ void StepperMotor::pulse() { chThdSleepMilliseconds(ST_DELAY_MS); } - void StepperMotor::initialize(brain_pin_e stepPin, brain_pin_e directionPin) { position = 0;