From fd05c9d4f6c74f29f550399ec3c238eab0295d37 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 26 Apr 2024 16:06:35 +0800 Subject: [PATCH] update --- iflytop_canbus_protocol.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/iflytop_canbus_protocol.hpp b/iflytop_canbus_protocol.hpp index 9a174ac..3e73335 100644 --- a/iflytop_canbus_protocol.hpp +++ b/iflytop_canbus_protocol.hpp @@ -1,8 +1,8 @@ #pragma once #include -#define PROTOCOL_VERSION 1 -#define HEART_OVERTIME_MS (10 * 1000) +#define PROTOCOL_VERSION 1 +#define HEART_PACKET_PERIOD_MS (5 * 1000) extern "C" { #pragma pack(1) @@ -234,8 +234,6 @@ typedef enum { } cmd_t; - - #pragma pack(1) /***********************************************************************************************************************