summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/servo.avr.c
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-01 23:57:20 +0200
committerNicolas Schodet2010-04-01 23:57:20 +0200
commit80b3da91dac28a5895a8cb9f0477a7008365dd56 (patch)
treec1f0f544676df83c81ed185fa90f1e832be8dabb /digital/io/src/servo.avr.c
parent811125a12c40ab0d7d90da8da2142c382a7301cc (diff)
digital/io: wipe-out old robot code, closes #112
Diffstat (limited to 'digital/io/src/servo.avr.c')
-rw-r--r--digital/io/src/servo.avr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/digital/io/src/servo.avr.c b/digital/io/src/servo.avr.c
index 6689f06a..de50c819 100644
--- a/digital/io/src/servo.avr.c
+++ b/digital/io/src/servo.avr.c
@@ -56,7 +56,7 @@
* We want a time of 20ms (20/1000).
* See @a servo_init to know the prescaler value of the timer/counter.
*/
-static const uint16_t servo_tic_cyle_ = AC_FREQ / 256 * 20 / 1000;
+static const uint16_t servo_tic_cycle_ = AC_FREQ / 256 * 20 / 1000;
/** @} */
@@ -141,7 +141,7 @@ SIGNAL (SIG_OVERFLOW2)
overflow */
static int8_t servo_overflow_count = -1;
/* Time spent by each servo motor at high state during a whole cycle */
- static uint16_t servo_high_time_cycle = servo_tic_cyle_;
+ static uint16_t servo_high_time_cycle = servo_tic_cycle_;
/* State machine actions */
if (servo_updating_id_ >= 0)
@@ -193,7 +193,7 @@ SIGNAL (SIG_OVERFLOW2)
servo_updating_id_ = 0;
/* Re-initialize the counter of time spent by each servo motor
* at high state */
- servo_high_time_cycle = servo_tic_cyle_;
+ servo_high_time_cycle = servo_tic_cycle_;
}
}
}