diff --git a/applications/RS_485.c b/applications/RS_485.c index 1abc79e..394d667 100644 --- a/applications/RS_485.c +++ b/applications/RS_485.c @@ -57,7 +57,7 @@ static rt_err_t uart485_input(rt_device_t dev, rt_size_t size) cachecnt += size; if (cachecnt < 63) { // LOG_W("not enough data[%d byte(s)], cached and waiting...",size);//处理半包 - LOG_D("%d byte(s)",size); +// LOG_D("%d byte(s)",size); return -1; } msg.dev = dev; @@ -187,7 +187,7 @@ static void T485_thread_entry(void *parameter) rt_pin_write(TR485_RE, PIN_HIGH); rt_device_write(serial485, 0, cmd, sizeof(cmd)); rt_pin_write(TR485_RE, PIN_LOW); - LOG_D("send 485"); +// LOG_D("send 485"); } rt_thread_mdelay(10*1000); } diff --git a/applications/main.c b/applications/main.c index 6287008..948d84e 100644 --- a/applications/main.c +++ b/applications/main.c @@ -86,7 +86,7 @@ void show_version(void) char str[30]; uint8_t t[10]; size_t len=time2Byte(t); - rt_kprintf("SW Version: %s, build-%s\n","1.9d",bytes2str(t, 3, 10, "", str)); + rt_kprintf("SW Version: %s, build-%s\n","2.1d",bytes2str(t, 3, 10, "", str)); } MSH_CMD_EXPORT(show_version,显示版本号);