Skip to content

Commit

Permalink
Merge pull request #3802 from haukepetersen/opt_kernelinit
Browse files Browse the repository at this point in the history
core: optimized output on kernel-init
  • Loading branch information
kaspar030 committed Sep 10, 2015
2 parents 8b16f3e + 5e7a026 commit d8df3c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/kernel_init.c
Expand Up @@ -51,6 +51,8 @@ static void *main_trampoline(void *arg)
auto_init();
#endif

LOG_INFO("main(): This is RIOT! (Version: " RIOT_VERSION ")\n");

main();
return NULL;
}
Expand Down Expand Up @@ -82,7 +84,6 @@ static char idle_stack[THREAD_STACKSIZE_IDLE];
void kernel_init(void)
{
(void) disableIRQ();
LOG_INFO("kernel_init(): This is RIOT! (Version: %s)\n", RIOT_VERSION);

hwtimer_init();

Expand All @@ -96,7 +97,5 @@ void kernel_init(void)
CREATE_WOUT_YIELD | CREATE_STACKTEST,
main_trampoline, NULL, main_name);

LOG_INFO("kernel_init(): jumping into first task...\n");

cpu_switch_context_exit();
}

0 comments on commit d8df3c3

Please sign in to comment.