From a6a0759e70adbfaf9b2b090bd0c25541be8bb104 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 05 六月 2025 14:07:55 +0800 Subject: [PATCH] 2.85,加入按下按键点击震动100ms 原来是10ms没感觉 --- Src/application/dw_app.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h index a1ba38a..c0aa66f 100644 --- a/Src/application/dw_app.h +++ b/Src/application/dw_app.h @@ -19,7 +19,7 @@ #define HEX_OUTPUT #define TOTAL_SLOTNUM 200 #define SLOTTIME_MS 48 -#define SLOT_SCALE 0.55 +#define SLOT_SCALE 0.8 #define MAX_NEARBASE_NUM 12 #define KEEP_TIMES 3 @@ -48,6 +48,7 @@ #define DISCOVERPOLL 0x0A #define DISCOVERRESPONSE 0x0B #define DISCOVERFINAL 0x0C +#define DISCOVERPOLL2 0x1A #define POS_MSG 0x15 #define POS_POLL 0x16 @@ -56,6 +57,7 @@ #define REG_POLL 0x10 // #define REG_RESPONSE 0x11 // +#define REG_POLL2 0x20 // //General #define GROUP_ID_IDX 0 #define ANCHOR_ID_IDX 1 @@ -132,7 +134,7 @@ extern uint32_t g_UWB_com_interval; extern float dis_after_filter; -extern uint8_t usart_send[25]; +extern uint8_t usart_send[250]; void IdleTask(void); uint16_t Checksum_u16(uint8_t* pdata, uint32_t len); -- Gitblit v1.9.3