summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/codewheel.c
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-17 01:59:32 +0200
committerFlorent Duchon2012-12-24 17:47:57 +0100
commit403d9c808077b7e581ed144a6b85615c9006613a (patch)
tree37f40c2329986c71b81b89e29fa2fd70c03369f7 /digital/beacon/src/codewheel.c
parent3b47a396b539a97ea743692dd86ee6a475e58d41 (diff)
digital/beacon: add motor control speed
Diffstat (limited to 'digital/beacon/src/codewheel.c')
-rw-r--r--digital/beacon/src/codewheel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/digital/beacon/src/codewheel.c b/digital/beacon/src/codewheel.c
index d5743937..8b8e6ed8 100644
--- a/digital/beacon/src/codewheel.c
+++ b/digital/beacon/src/codewheel.c
@@ -114,6 +114,7 @@ ISR(TIMER3_COMPA_vect)
else
{
OCR3A = CODEWHEEL_CPR;
+ motor_control_speed(codewheel.time);
codewheel.time = 0;
}
laser_reset_angle_id();