Modify the sleep countdown delay.

This commit is contained in:
dxl
2023-02-27 21:53:17 +08:00
parent 371cc7e7d5
commit 94856cf477
+6 -6
View File
@@ -4,16 +4,16 @@
#include <stdint.h>
// 休眠态唤醒设备
#define SLEEP_DELAY_MS_BUTTON_WAKEUP 6000 // 按钮唤醒的休眠延迟
#define SLEEP_DELAY_MS_BUTTON_WAKEUP 4000 // 按钮唤醒的休眠延迟
#define SLEEP_DELAY_MS_FIELD_WAKEUP 4000 // 场唤醒的休眠延迟(包括高低频)
#define SLEEP_DELAY_MS_FRIST_POWER 1000 // 首次供电的休眠延迟(接入电池)
// 运行态重新延迟
#define SLEEP_DELAY_MS_BUTTON_CLICK 6000 // 按钮点击的休眠延迟
#define SLEEP_DELAY_MS_FIELD_NFC_LOST 1000 // 高频模拟卡离开场后的休眠延迟
#define SLEEP_DELAY_MS_FIELD_125KHZ_LOST 1000 // 低频模拟卡离开场后的休眠延迟
#define SLEEP_DELAY_MS_BLE_DISCONNECTED 6000 // BLE断开后的休眠延迟
#define SLEEP_DELAY_MS_USB_POWER_DISCONNECTED 6000 // USB供电断开后的休眠延迟
#define SLEEP_DELAY_MS_BUTTON_CLICK 4000 // 按钮点击的休眠延迟
#define SLEEP_DELAY_MS_FIELD_NFC_LOST 2000 // 高频模拟卡离开场后的休眠延迟
#define SLEEP_DELAY_MS_FIELD_125KHZ_LOST 2000 // 低频模拟卡离开场后的休眠延迟
#define SLEEP_DELAY_MS_BLE_DISCONNECTED 4000 // BLE断开后的休眠延迟
#define SLEEP_DELAY_MS_USB_POWER_DISCONNECTED 3000 // USB供电断开后的休眠延迟
void sleep_timer_init(void);