blinky; use OS_TICKS_PER_SEC with os_time_delay()
authorMarko Kiiskila <marko@runtime.io>
Fri, 19 Aug 2016 22:35:57 +0000 (15:35 -0700)
committerMarko Kiiskila <marko@runtime.io>
Fri, 19 Aug 2016 22:35:57 +0000 (15:35 -0700)
apps/blinky/src/main.c

index 816aa96..dac38ac 100755 (executable)
@@ -55,7 +55,7 @@ blinky_task_handler(void *arg)
         ++g_task1_loops;
 
         /* Wait one second */
-        os_time_delay(1000);
+        os_time_delay(OS_TICKS_PER_SEC);
 
         /* Toggle the LED */
         hal_gpio_toggle(g_led_pin);