summaryrefslogtreecommitdiff
path: root/digital/beacon/src/sensors.c
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/sensors.c')
-rw-r--r--digital/beacon/src/sensors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/beacon/src/sensors.c b/digital/beacon/src/sensors.c
index 6b7a11bb..9fcdd3a2 100644
--- a/digital/beacon/src/sensors.c
+++ b/digital/beacon/src/sensors.c
@@ -51,6 +51,7 @@ void sensors_codewheel_init(void)
OCR3A = CODEWHEEL_CPR;
/* Enable Interrupts */
+ TIMSK3 |= (1<<OCIE3A);
sei();
}
@@ -68,6 +69,7 @@ void sensors_laser_irq_vector(void)
}
/* IRQ vector for CodeWheel complete turn */
+ISR(TIMER3_COMPA_vect)
ISR(TIMER3_OVF_vect)
{
//Top tour ++