Browse Source

完善调试打印信息

tyustli 6 năm trước cách đây
mục cha
commit
5f9c1ca6d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      touch/gui_touch.c

+ 1 - 1
touch/gui_touch.c

@@ -127,7 +127,7 @@ int gui_touch(const char* name, rt_uint16_t x, rt_uint16_t y)
     dev = rt_device_find(name);  /* you touch device name*/
     if (dev == RT_NULL)
     {
-        LOG_E("can't find device:%s\n", "touch");
+        LOG_E("can't find device:%s\n", name);
         return -1;
     }