From c1a1e9ca3319de5f8fa3d68c63e7aa12f5b7ebd5 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 23 一月 2024 17:07:14 +0800 Subject: [PATCH] V3.23 修复多标签测距丢包BUG,问题原因是rxbuffer长度不够,溢出了。 --- Src/application/global_param.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index 2ab1e4e..3720698 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -44,7 +44,11 @@ #define MOTOR_ENABLE 0x1E #define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 -#define MOTOR_ONTIME 0x21 +#define ACTIVE_INDEX 0x22 +#define ANT_LENGTH 0x2A + +#define MOTOR_ONTIME 500 +#define MOTOR_OFFTIME 500 #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 -- Gitblit v1.9.3