From 39a972b05b89a05ac7bedbb09bf1ecbe09500808 Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Tue, 6 Jun 2023 20:19:37 +0800 Subject: [PATCH] macro for low battery shutdown timeout --- firmware/application/src/utils/syssleep.h | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/application/src/utils/syssleep.h b/firmware/application/src/utils/syssleep.h index 78325f7..6a44619 100644 --- a/firmware/application/src/utils/syssleep.h +++ b/firmware/application/src/utils/syssleep.h @@ -14,6 +14,7 @@ #define SLEEP_DELAY_MS_FIELD_125KHZ_LOST 3000 // 低频模拟卡离开场后的休眠延迟 #define SLEEP_DELAY_MS_BLE_DISCONNECTED 4000 // BLE断开后的休眠延迟 #define SLEEP_DELAY_MS_USB_POWER_DISCONNECTED 3000 // USB供电断开后的休眠延迟 +#define SLEEP_NO_BATTERY_SHUTDOWN 1 // 低电量关机 void sleep_timer_init(void);