summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-04 00:06:03 +0200
committerFlorent Duchon2012-05-04 00:06:29 +0200
commit6ed604b5405524098f1c45d13ea8efa5b6eb3ba4 (patch)
tree94c10a366e6793d823170e2fd80c2ddac9f49cf7
parent7e8f8382ad73446770147e03f9c523d1f24718c2 (diff)
digital/beacon: fix bad get_angle call
-rw-r--r--digital/beacon/src/laser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/beacon/src/laser.c b/digital/beacon/src/laser.c
index 4bd78c5c..b18167bf 100644
--- a/digital/beacon/src/laser.c
+++ b/digital/beacon/src/laser.c
@@ -117,7 +117,7 @@ ISR(TIMER3_COMPB_vect)
{
if(servo_get_state(SERVO_1) == SERVO_SCANNING_FAST_IN_PROGRESS)
{
- codewheel_set_rebase_offset(laser_get_angle());
+ codewheel_set_rebase_offset(laser_get_angle_raw());
codewheel_set_state(CODEWHEEL_REQUEST_REBASE);
}
}