From 1e9dd99c4496915c9d38327c2ac9a2c3e47c1bc2 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 13 九月 2024 02:01:31 +0800 Subject: [PATCH] fix bug --- service/nvcs.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/nvcs.go b/service/nvcs.go index 3e21a84..fbab7c9 100644 --- a/service/nvcs.go +++ b/service/nvcs.go @@ -98,9 +98,9 @@ address := "192.168.10.253:50000" err := A1SendFrame(frame, address) if err != nil { - logger.Debug("The floor has been calibrated.") - } else { logger.Warn(err.Error()) + } else { + logger.Debug("The floor has been calibrated.") } } } -- Gitblit v1.8.0