소스 검색

[a9g] using LOG_E instead of rt_kprintf when print information

Meco Man 1 년 전
부모
커밋
50f458ee6a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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