Shell: stop tsch_log at init

This commit is contained in:
Simon Duquennoy 2017-10-12 14:56:08 +02:00
parent f14d6d4afe
commit 741a1d5816
1 changed files with 3 additions and 0 deletions

View File

@ -685,6 +685,9 @@ shell_commands_init(void)
echo_reply_handler);
/* Start with soft log level 0 so as to minimize interference with shell */
log_set_level("all", LOG_LEVEL_NONE);
#if MAC_CONF_WITH_TSCH && TSCH_LOG_PER_SLOT
tsch_log_stop();
#endif /* MAC_CONF_WITH_TSCH && TSCH_LOG_PER_SLOT */
}
/*---------------------------------------------------------------------------*/
struct shell_command_t shell_commands[] = {