Explorar el Código

[a9g] using LOG_E instead of rt_kprintf when print information

Meco Man hace 1 año
padre
commit
50f458ee6a
Se han modificado 1 ficheros con 1 adiciones y 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