summaryrefslogtreecommitdiff
path: root/digital/beacon
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-11 00:03:29 +0200
committerFlorent Duchon2012-05-11 00:16:45 +0200
commita7ec22d4a46b124e70cbd93f64a449862ce99933 (patch)
treec9e34bd2676fcd328ef8d6e7c88ea0c0c4a5bb0b /digital/beacon
parent64b27ca7a9177cdeabfb22c9b3a4e913f6e36278 (diff)
digital/beacon: disable interrupt at the end of ISR(TIMER3_COMPB_vect)
Diffstat (limited to 'digital/beacon')
-rw-r--r--digital/beacon/src/laser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/digital/beacon/src/laser.c b/digital/beacon/src/laser.c
index 245791b6..73c85910 100644
--- a/digital/beacon/src/laser.c
+++ b/digital/beacon/src/laser.c
@@ -120,6 +120,9 @@ ISR(TIMER3_COMPB_vect)
codewheel_set_rebase_offset(laser_get_angle_raw());
codewheel_set_state(CODEWHEEL_REQUEST_REBASE);
}
+
+ /* Disable the interrupt */
+ laser_inhibit_angle_confirmation();
}