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:
parent
4d6c8898c2
commit
dff3e760b8
@ -250,9 +250,9 @@ platform_init_stage_three(void)
|
|||||||
LOG_INFO("RF: Channel %d", chan);
|
LOG_INFO("RF: Channel %d", chan);
|
||||||
|
|
||||||
if(NETSTACK_RADIO.get_value(RADIO_PARAM_PAN_ID, &pan) == RADIO_RESULT_OK) {
|
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);
|
LOG_INFO("Node ID: %d\n", node_id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user