From 41bb8dfc23e49a2a1bcfc44fe56d213d69cd623f Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Tue, 17 Apr 2012 22:31:29 +0200 Subject: digital/beacon: modify codewheel sensor API --- digital/beacon/src/sensors.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/digital/beacon/src/sensors.c b/digital/beacon/src/sensors.c index 9fcdd3a2..03037322 100644 --- a/digital/beacon/src/sensors.c +++ b/digital/beacon/src/sensors.c @@ -56,7 +56,7 @@ void sensors_codewheel_init(void) } /* This function returns the wheel position */ -int sensors_codewheel_get_value(void) +uint16_t sensors_codewheel_get_value(void) { return TCNT3; } @@ -70,7 +70,6 @@ void sensors_laser_irq_vector(void) /* IRQ vector for CodeWheel complete turn */ ISR(TIMER3_COMPA_vect) -ISR(TIMER3_OVF_vect) { //Top tour ++ } -- cgit v1.2.3