Fix correct LOG_INFO in platform.c

When logging info about channel and PANID a newline is added for each
logging statement. It should only add a newline for the first LOG_INFO.
This commit is contained in:
Edvard Pettersen 2018-11-29 16:42:45 +01:00
parent 4d6c8898c2
commit dff3e760b8
1 changed files with 2 additions and 2 deletions

View File

@ -250,9 +250,9 @@ platform_init_stage_three(void)
LOG_INFO("RF: Channel %d", chan);
if(NETSTACK_RADIO.get_value(RADIO_PARAM_PAN_ID, &pan) == RADIO_RESULT_OK) {
LOG_INFO(", PANID 0x%04X", pan);
LOG_INFO_(", PANID 0x%04X", pan);
}
LOG_INFO("\n");
LOG_INFO_("\n");
LOG_INFO("Node ID: %d\n", node_id);