From 1157a0293f75d4c4a16cebf162f6671715904fe5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 02 十一月 2023 19:11:39 +0800
Subject: [PATCH] fix

---
 pkg/plccom/mitsubishi/protocol.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pkg/plccom/mitsubishi/protocol.go b/pkg/plccom/mitsubishi/protocol.go
index fdbaa8f..3f7a12a 100644
--- a/pkg/plccom/mitsubishi/protocol.go
+++ b/pkg/plccom/mitsubishi/protocol.go
@@ -95,7 +95,7 @@
 	}
 	if v == 0x06 {
 		// 鎴愬姛
-		return v, ok
+		return v, true
 	}
 	return v, false
 }

--
Gitblit v1.8.0