From d27f60254b079b714f670fa33a8fcd10bb9f3fa9 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 11 四月 2025 10:13:30 +0800 Subject: [PATCH] 用于俄罗斯显示测试 --- 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