summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--digital/io/src/trap.c6
-rw-r--r--digital/io/src/trap.h6
2 files changed, 6 insertions, 6 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;
}
}
diff --git a/digital/io/src/trap.h b/digital/io/src/trap.h
index d1bdd558..265abd6d 100644
--- a/digital/io/src/trap.h
+++ b/digital/io/src/trap.h
@@ -102,11 +102,11 @@ trap_setup_path_to_box (trap_box_id_e box);
/**
* Set high time value for horizontal and vertical position of a trap.
* @param servo_id the servo identification number.
- * @param horizontal the horizontal high time value.
- * @param vertical the vertical high time value.
+ * @param h the horizontal high time value.
+ * @param v the vertical high time value.
*/
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);
/**
* Open the rear panel to eject the balls.