summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-17 22:31:29 +0200
committerFlorent Duchon2012-04-17 22:31:29 +0200
commit41bb8dfc23e49a2a1bcfc44fe56d213d69cd623f (patch)
treea051dd159aca5585e3b9af5364ff0e7aeb771c09
parent32aa3d9bf239155adacd451a182c013ea1ec546d (diff)
digital/beacon: modify codewheel sensor API
-rw-r--r--digital/beacon/src/sensors.c3
1 files changed, 1 insertions, 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 ++
}