From d73af8aeff6f7e6dd1dc38c4742f181c4cd9c87d Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 15 Oct 2023 11:57:37 +0800 Subject: [PATCH] update --- zcancmder_protocol_basic.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zcancmder_protocol_basic.hpp b/zcancmder_protocol_basic.hpp index 798f165..2810974 100644 --- a/zcancmder_protocol_basic.hpp +++ b/zcancmder_protocol_basic.hpp @@ -34,7 +34,7 @@ uint32_t errorcode = 0; \ if (cmd->id == varid) { #define PROCESS_REPORT(type) \ - auto* report = (type##_report_t*)m_txbuf; \ + auto* report = (type##_report_t*)m_txbuf; \ static_assert(sizeof(*report) < sizeof(m_txbuf), "report size too large"); \ ZLOGI(TAG, #type " exec_status:%d", status); \ report->exec_status = status; \ @@ -83,3 +83,4 @@ typedef enum { } // namespace iflytop #define ZCAN_CMD_PUBLIC_DEVICE_ID_STEP_MOTOR_BOARD_OFFEST 200 +#define ZCAN_CMD_PUBLIC_DEVICE_ID_XY_ROBOT_BOARD_OFFEST 230