From c3287ad7beab5ed711458d065d0ce125488412ec Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 06 五月 2025 10:10:05 +0800
Subject: [PATCH] 1.主配方列表,需要写入返回值;

---
 SourceCode/Bond/Servo/CReadStep.cpp |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CReadStep.cpp b/SourceCode/Bond/Servo/CReadStep.cpp
index 787d92a..5fd5dfd 100644
--- a/SourceCode/Bond/Servo/CReadStep.cpp
+++ b/SourceCode/Bond/Servo/CReadStep.cpp
@@ -209,4 +209,12 @@
 	{
 		return 0;
 	}
+
+	int CReadStep::setReturnCode(short code)
+	{
+		memcpy(m_szReturnBuf, &code, sizeof(short));
+		m_nReturnDataSize = sizeof(short);
+
+		return 0;
+	}
 }

--
Gitblit v1.9.3