Meco Jianting Man 4 lat temu
rodzic
commit
f15f1361a1
1 zmienionych plików z 2 dodań i 6 usunięć
  1. 2 6
      netio/netio.c

+ 2 - 6
netio/netio.c

@@ -37,10 +37,6 @@
 #include <rtthread.h>
 #include <rtthread.h>
 #include "lwip/tcp.h"
 #include "lwip/tcp.h"
 
 
-#define DBG_SECTION_NAME               "netio"
-#define DBG_LEVEL                      DBG_INFO
-#include <rtdbg.h>
-
 /*
 /*
  * This implements a netio server.
  * This implements a netio server.
  *  The client sends a command word (4 bytes) then a data length word (4 bytes).
  *  The client sends a command word (4 bytes) then a data length word (4 bytes).
@@ -435,11 +431,11 @@ static void netio_init(void)
         pcb = tcp_listen(pcb);
         pcb = tcp_listen(pcb);
         tcp_accept(pcb, netio_accept);
         tcp_accept(pcb, netio_accept);
         init_ok = RT_TRUE;
         init_ok = RT_TRUE;
-        LOG_I("netio server start successfully");
+        rt_kprintf("netio server starts successfully\n");
     }
     }
     else
     else
     {
     {
-        LOG_I("netio server has already run");
+        rt_kprintf("netio server has already run");
     }
     }
 }
 }
 #ifdef FINSH_USING_MSH
 #ifdef FINSH_USING_MSH