From c84c6ca0dd7fa662fc589f02da10b3a89e45c659 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期三, 06 一月 2021 11:36:16 +0800 Subject: [PATCH] 增加气压读取功能,未完成 --- Src/application/global_param.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index 8a00144..1fb4f91 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -26,7 +26,7 @@ #define HEARTBEAT 0xE #define MODBUS_MODE 0xF -#define MOTOR_ONTIME 0x10 +#define MOTOR_ONTIME_INDEX 0x10 #define NEARBASE_ID1 0x11 #define NEARBASE_ID2 0x12 #define NEARBASE_ID3 0x13 @@ -44,7 +44,7 @@ #define MOTOR_ENABLE 0x1E #define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 -#define MOTOR_ONTIME 0x21 + #define ACTIVE_INDEX 0x22 #define CNT_RESTART 0x30 -- Gitblit v1.9.3