This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 7961294  apps: timtest: fix frequency in comments
7961294 is described below

commit 7961294b4c73395e21bcb55d2140105cbe5788b8
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Fri Aug 20 18:11:29 2021 -0300

    apps: timtest: fix frequency in comments
    
    Timer configuration frequencies were changed without fixing the
    comments.
    
    Signed-off-by: Fabio Utzig <ut...@apache.org>
---
 apps/timtest/src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/timtest/src/main.c b/apps/timtest/src/main.c
index fe9d0be..7b348e6 100644
--- a/apps/timtest/src/main.c
+++ b/apps/timtest/src/main.c
@@ -154,14 +154,14 @@ init_tasks(void)
     /* Initialize global test semaphore */
     os_sem_init(&g_test_sem, 0);
 
-    /* Initialize timer 0 to count at 1 MHz */
+    /* Initialize timer 0 to count at 4 MHz */
     rc = hal_timer_config(TASK1_TIMER_NUM, TASK1_TIMER_FREQ);
     assert(rc == 0);
 
     res = hal_timer_get_resolution(TASK1_TIMER_NUM);
     assert(res == (1000000000 / TASK1_TIMER_FREQ));
 
-    /* Initialize timer 1 to count at 250 kHz */
+    /* Initialize timer 1 to count at 31250 Hz */
     rc = hal_timer_config(TASK2_TIMER_NUM, TASK2_TIMER_FREQ);
     assert(rc == 0);
 

Reply via email to