优化日志

This commit is contained in:
2025-11-28 14:37:53 +08:00
parent bc4355cad5
commit 04b46d8025
2 changed files with 4 additions and 4 deletions

View File

@@ -266,7 +266,7 @@ func (t *LoRaMeshUartPassthroughTransport) executeSend(ctx context.Context, req
frame.WriteByte(currentChunk) // 当前包序号
frame.Write(chunk) // 数据块
logger.Infof("构建LoRa数据包: %v", frame.Bytes())
logger.Debugf("构建LoRa数据包: %v", frame.Bytes())
_, err := t.port.Write(frame.Bytes())
if err != nil {
return nil, fmt.Errorf("写入串口失败: %w", err)