You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/05/29 18:26:56 UTC
[GitHub] [mynewt-core] wes3 commented on a change in pull request #1838:
[Feature]: Main Task OS Sanity Check
wes3 commented on a change in pull request #1838: [Feature]: Main Task OS Sanity Check
URL: https://github.com/apache/mynewt-core/pull/1838#discussion_r288708233
##########
File path: kernel/os/src/os.c
##########
@@ -235,8 +232,8 @@ os_init(int (*main_fn)(int argc, char **arg))
if (main_fn) {
err = os_task_init(&g_os_main_task, "main", os_main, main_fn,
OS_MAIN_TASK_PRIO,
- (OS_MAIN_TASK_TIMER_TICKS == 0) ? \
- OS_WAIT_FOREVER : OS_MAIN_TASK_TIMER_TICKS,
+ (OS_MAIN_TASK_SANITY_ITVL_TICKS == 0) ? \
+ OS_WAIT_FOREVER : OS_MAIN_TASK_SANITY_ITVL_TICKS,
Review comment:
No need for \ here btw. Should work without it. Looks fine otherwise.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services