summaryrefslogtreecommitdiff
path: root/digital/io/src/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/trap.c')
-rw-r--r--digital/io/src/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/digital/io/src/trap.c b/digital/io/src/trap.c
index b359b8af..c9b6a491 100644
--- a/digital/io/src/trap.c
+++ b/digital/io/src/trap.c
@@ -120,12 +120,12 @@ trap_setup_path_to_box (trap_box_id_e box)
/* Set high time value for horizontal and vertical position of a trap. */
void
-trap_set_high_time (uint8_t servo_id, uint8_t horizontal, uint8_t vertical)
+trap_set_high_time (uint8_t servo_id, uint8_t h, uint8_t v)
{
if (servo_id < SERVO_NUMBER)
{
- trap_high_time_pos[horizontal][servo_id] = horizontal;
- trap_high_time_pos[vertical][servo_id] = vertical;
+ trap_high_time_pos[horizontal][servo_id] = h;
+ trap_high_time_pos[vertical][servo_id] = v;
}
}