summaryrefslogtreecommitdiff
path: root/digital
diff options
context:
space:
mode:
Diffstat (limited to 'digital')
-rw-r--r--digital/beacon/src/laser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/beacon/src/laser.c b/digital/beacon/src/laser.c
index bc5b7466..bd8be64b 100644
--- a/digital/beacon/src/laser.c
+++ b/digital/beacon/src/laser.c
@@ -186,6 +186,8 @@ ISR(TIMER3_CAPT_vect)
/* Recompute the angle value */
virtual_angle = (virtual_angle + ICR3) / 2;
+ /* UseI ICR3 for now*/
+ virtual_angle = ICR3;
/* It's a falling edge so potentially current_angle could be a real one */
laser_set_angle(virtual_angle);