summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--digital/beacon/src/motor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/digital/beacon/src/motor.c b/digital/beacon/src/motor.c
index 56682b48..b6453190 100644
--- a/digital/beacon/src/motor.c
+++ b/digital/beacon/src/motor.c
@@ -50,13 +50,14 @@ void motor_init(void)
void motor_start(void)
{
OCR0A = 115;
-
+ start_codewheel_timer_task();
}
/* This function stops the motor rotation */
void motor_stop(void)
{
OCR0A = 0;
+ stop_codewheel_timer_task();
}
/* This function returns the motor state */