From dff3e760b81259629ca126c537949a7552a72a71 Mon Sep 17 00:00:00 2001 From: Edvard Pettersen Date: Thu, 29 Nov 2018 16:42:45 +0100 Subject: [PATCH] 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. --- arch/platform/simplelink/cc13xx-cc26xx/platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/platform/simplelink/cc13xx-cc26xx/platform.c b/arch/platform/simplelink/cc13xx-cc26xx/platform.c index c78fe1946..56030445a 100644 --- a/arch/platform/simplelink/cc13xx-cc26xx/platform.c +++ b/arch/platform/simplelink/cc13xx-cc26xx/platform.c @@ -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);