summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018/stepper.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-02-07 01:12:45 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-02-07 01:12:45 +0000
commit1e2644995bff6ba50ba96cf2aabbddad4eb9144b (patch)
tree6f67b7013d6c995bf1013dd3e287c9bcaca3d756 /usb-i2c-sl018/stepper.c
parentfixed state machine (diff)
added manual switch
reentrant of stepper removed git-svn-id: https://svn.spreadspace.org/avr/trunk@164 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/stepper.c')
-rw-r--r--usb-i2c-sl018/stepper.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usb-i2c-sl018/stepper.c b/usb-i2c-sl018/stepper.c
index d555889..b4390c3 100644
--- a/usb-i2c-sl018/stepper.c
+++ b/usb-i2c-sl018/stepper.c
@@ -97,9 +97,6 @@ void init_stepper(void)
uint8_t start_stepper(stepper_direction_t direction)
{
- if(TCCR1B)
- return 0;
-
step_cnt = 0;
step_direction = direction;
STEPPER_PORT |= 1<<STEPPER_ENABLE_BIT;