From d11d41c1062568f629d5ec2bc6435319b7ea83e3 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 12 Aug 2024 14:26:29 +0800 Subject: [PATCH] update protocol --- zscanprotocol.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zscanprotocol.hpp b/zscanprotocol.hpp index f7d33db..f6398ab 100644 --- a/zscanprotocol.hpp +++ b/zscanprotocol.hpp @@ -43,6 +43,10 @@ typedef struct { uint8_t params[]; } zcanbus_packet_t; +#pragma pack() + +} // namespace zscanprotocol +namespace err { typedef enum { kerr_noerror = 0, kerr_overtime = 1, @@ -50,9 +54,6 @@ typedef enum { kerr_invalid_param_num = 3, kerr_subdevice_offline = 4, kerr_function_not_support = 5, - } common_ecode_t; -#pragma pack() - -} // namespace zscanprotocol +} } // namespace iflytop