From be211ba91c19b5b74feaeaba202d5efe062bfdb7 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Wed, 5 Aug 2015 15:03:22 -0400 Subject: [PATCH] Fix LOAPIC timer comments Fixes a copy-paste error that inadvertently had the LOAPIC timer being referred to as the PIT. Change-Id: I4760d150cd6feb76b7d7384845898c6276bace83 Signed-off-by: Peter Mitsis --- drivers/timer/loapic_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/timer/loapic_timer.c b/drivers/timer/loapic_timer.c index 9f4ca866948..2ac9714cb05 100644 --- a/drivers/timer/loapic_timer.c +++ b/drivers/timer/loapic_timer.c @@ -534,7 +534,7 @@ void _timer_idle_exit(void) * * @brief Initialize and enable the system clock * - * This routine is used to program the PIT to deliver interrupts at the + * This routine is used to program the timer to deliver interrupts at the * rate specified via the 'sys_clock_us_per_tick' global variable. * * @return 0 @@ -544,7 +544,7 @@ int _sys_clock_driver_init(struct device *device) { ARG_UNUSED(device); - /* determine the PIT counter value (in timer clock cycles/system tick) + /* determine the timer counter value (in timer clock cycles/system tick) */ counterLoadVal = sys_clock_hw_cycles_per_tick - 1;