From b7392b564b8ab6d987e449a5b412273e8c89112c Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 15 五月 2025 11:09:43 +0800
Subject: [PATCH] 1.Bonder进料检测和限制;

---
 SourceCode/Bond/Servo/CEqReadStep.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEqReadStep.h b/SourceCode/Bond/Servo/CEqReadStep.h
index fa9a2b3..567f1cf 100644
--- a/SourceCode/Bond/Servo/CEqReadStep.h
+++ b/SourceCode/Bond/Servo/CEqReadStep.h
@@ -3,7 +3,7 @@
 #include <functional>
 
 
-#define READ_BUFFER_MAX		1024
+#define READ_BUFFER_MAX		2048
 
 #define ROK				0					/* 读数据OK */
 #define RTIMEOUT		-1					/* 读数据超时 */
@@ -11,7 +11,7 @@
 #define RCOMPLETE		1					/* 读数据流程完成 */
 
 namespace SERVO {
-	typedef std::function<int(int code, const char* pszData, size_t size)> ONREAD;
+	typedef std::function<int(void* pFrom, int code, const char* pszData, size_t size)> ONREAD;
 
 	class CEqReadStep : public CReadStep
 	{

--
Gitblit v1.9.3