Explorar o código

[a9g] using LOG_E instead of rt_kprintf when print information

Meco Man hai 1 ano
pai
achega
50f458ee6a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      class/a9g/at_device_a9g.c

+ 1 - 1
class/a9g/at_device_a9g.c

@@ -454,7 +454,7 @@ static int a9g_netdev_ping(struct netdev *netdev, const char *host,
 #if RT_VER_NUM >= 0x50100
     RT_UNUSED(is_bind);
 #endif
-    rt_kprintf("I don't have PING function!\r\n");
+    LOG_E("ping doesn't support in a9g device.");
     return RT_EOK;
 }
 #endif