From cd285e83c81573c0c76ddf58d17e2d0c7e19b8e5 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期一, 26 二月 2024 14:18:06 +0800 Subject: [PATCH] V1.44 时钟保持激活状态 --- Src/application/dw_app.h | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h index 4069015..ee45565 100644 --- a/Src/application/dw_app.h +++ b/Src/application/dw_app.h @@ -8,13 +8,15 @@ #include "ADC.h" #include "TrackingDiff.h" -//#define WORK_MODE_TAG -#define WORK_MODE_ANCHOR +#define BASELOST_STOPMOTOR_TIME 5 +//BITSTATE +#define GOINGSLEEPBIT 1 //#define NEWBOARD //#define TAG_OUTPUT #define HEX_OUTPUT +#define SLOT_SCALE 0.7 #define MAX_NEARBASE_NUM 12 #define KEEP_TIMES 3 @@ -28,6 +30,8 @@ #define MIN_ANCHOR_NUM 2 #define SYNC_SEQ_IDX 5 #define REMOTEPARA_LEN 18 +#define TOTAL_SLOTNUM 200 +#define SLOTTIME_MS 48 #define POLL 0x01 #define RESPONSE 0x02 @@ -43,6 +47,7 @@ #define TAG_ID_IDX 5 #define MESSAGE_TYPE_IDX 9 //Poll +#define TAGSTATE 7 #define ANC_TYPE_IDX 14 //respose #define DIST_IDX 10 @@ -52,6 +57,7 @@ #define MOTORSTATE_INDEX 19 #define REMOTEPARA_INDEX 20 //Final +#define TAGCONFIGSUCCESS_INDEX 7 #define FINAL_MSG_POLL_TX_TS_IDX 10 #define FINAL_MSG_RESP_RX_TS_IDX 14 #define FINAL_MSG_FINAL_TX_TS_IDX 18 -- Gitblit v1.9.3