From 38c1a38c08b6dfbc4632def361ddf8398a9f2107 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期日, 20 四月 2025 18:38:09 +0800 Subject: [PATCH] 修改GPS4G灯充电灯闪灯逻辑,修改发送逻辑,处理4G立即关闭无法发送心跳包逻辑,完成3连击单击长按按钮逻辑,初步测试成功版本 --- keil/include/components/hido/Include/HIDO_Timer.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keil/include/components/hido/Include/HIDO_Timer.h b/keil/include/components/hido/Include/HIDO_Timer.h index 3ec5fb5..dc8eab4 100644 --- a/keil/include/components/hido/Include/HIDO_Timer.h +++ b/keil/include/components/hido/Include/HIDO_Timer.h @@ -14,8 +14,8 @@ HIDO_TimerFunc m_fnTimerProc; }HIDO_TimerStruct; -#define HIDO_TIMER_TICK_S(s) ((s) * 2) -#define HIDO_TIMER_TICK_MS(ms) ((ms) / 500) +#define HIDO_TIMER_TICK_S(s) ((s) * 1) +#define HIDO_TIMER_TICK_MS(ms) ((ms) / 1000) #define HIDO_TIMER_TYPE_ONCE 0 #define HIDO_TIMER_TYPE_LOOP 1 -- Gitblit v1.9.3