Sfoglia il codice sorgente

[a9g] using LOG_E instead of rt_kprintf when print information

Meco Man 1 anno fa
parent
commit
50f458ee6a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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