summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/laser.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-22 22:42:42 +0200
committerFlorent Duchon2012-05-04 00:06:27 +0200
commit769f66910b6651199014d20e48b2c533684b73d8 (patch)
treee6b315aef878e9c5da663483a1c27c61072ae747 /digital/beacon/src/laser.h
parente532558c6f6fb1e07dbc28fdac6441c981d72907 (diff)
digital/beacon: rename laser_inhibit_angle_sending() into laser_inhibit_angle_confirmation() that is more precise
Diffstat (limited to 'digital/beacon/src/laser.h')
-rw-r--r--digital/beacon/src/laser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/digital/beacon/src/laser.h b/digital/beacon/src/laser.h
index 661c32b8..bb1281c9 100644
--- a/digital/beacon/src/laser.h
+++ b/digital/beacon/src/laser.h
@@ -28,7 +28,7 @@
#define RISING_EDGE TCCR3B & (1<<ICES3)
#define SENDING_ENGAGED TIMSK3&(1<<OCIE3B)
-#define LASER_SENDING_OFFSET 10
+#define LASER_CONFIRMATION_OFFSET 10
typedef enum
{
@@ -47,9 +47,9 @@ TLaser_edge_type laser_get_edge_type(void);
void laser_invert_IRQ_edge_trigger(void);
/* This function deactivates the angle sending */
-void laser_inhibit_angle_sending(void);
+void laser_inhibit_angle_confirmation(void);
/* This function configures the AVR OC3B interrupt that will send the angle LASER_SENDING_OFFSET after the latest rising edge */
-void laser_engage_angle_sending(uint16_t value);
+void laser_engage_angle_confirmation(uint16_t value);
#endif