From edd3465ff7aefa3b0ac9ef1e977c32fb23945e73 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期一, 25 七月 2022 16:41:26 +0800 Subject: [PATCH] V1.30 加速计灵敏度可配置 --- Src/application/global_param.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index 2ab1e4e..c9feaa1 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -44,7 +44,10 @@ #define MOTOR_ENABLE 0x1E #define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 -#define MOTOR_ONTIME 0x21 +#define ACTIVE_INDEX 0x22 + +#define MOTOR_ONTIME 500 +#define MOTOR_OFFTIME 500 #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 -- Gitblit v1.9.3