From e3bc01f494ddd7cabb8a3ab020fb46e588978744 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 20 Nov 2018 13:34:12 +0800
Subject: [PATCH] update iotd_conf.c file, remove printf to log_nrml

---
 src/nbiotd/core/iotd_conf.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/nbiotd/core/iotd_conf.c b/src/nbiotd/core/iotd_conf.c
index 036db5f..6d52ec3 100644
--- a/src/nbiotd/core/iotd_conf.c
+++ b/src/nbiotd/core/iotd_conf.c
@@ -70,7 +70,7 @@
 
     data = iniparser_getint(ini, "nbiot:enable", 0);
     nbiot->enable = data? ENABLE : DISABLE;
-    printf("Confiugre NB-IoT thread [%s]\n", nbiot->enable ? "enable" : "disable");
+    log_nrml("Confiugre NB-IoT thread [%s]\n", nbiot->enable ? "enable" : "disable");
 
     str = iniparser_getstring(ini, "nbiot:comport", NULL);
     if( NULL!=str && strlen(str) > 0 )
@@ -106,7 +106,7 @@
 
     data = iniparser_getint(ini, "lora:enable", 0);
     lora->enable = data? ENABLE : DISABLE;
-    printf("Confiugre LoRa thread [%s]\n", lora->enable ? "enable" : "disable");
+    log_nrml("Confiugre LoRa thread [%s]\n", lora->enable ? "enable" : "disable");
 
     str = iniparser_getstring(ini, "lora:comport", NULL);
     if( NULL!=str && strlen(str) > 0 )
@@ -142,7 +142,7 @@
 
     data = iniparser_getint(ini, "mqtt:enable", 0);
     mqtt->enable = data? ENABLE : DISABLE;
-    printf("Confiugre MQTT thread [%s]\n", lora->enable ? "enable" : "disable");
+    log_nrml("Confiugre MQTT thread [%s]\n", lora->enable ? "enable" : "disable");
 
     str = iniparser_getstring(ini, "mqtt:hostname", NULL);
     if( !str || strlen(str) <= 0 )

--
Gitblit v1.9.1