测试上单后增加延时再升压
This commit is contained in:
parent
3ec284aa29
commit
3d70b0770e
|
@ -156,6 +156,7 @@ void app_task_handler(TeAppEvtType app_evt_type)
|
|||
break;
|
||||
}
|
||||
case kKeyLong:
|
||||
DelayMs(4000);
|
||||
logDebug("button long press");
|
||||
|
||||
break;
|
||||
|
@ -271,6 +272,8 @@ int main(void)
|
|||
GXHTC3C_Init();
|
||||
BSP_ADC_Init();
|
||||
|
||||
DelayMs(2000 * 1);
|
||||
|
||||
BSP_BlockSleep();
|
||||
BSP_RequestBoost();
|
||||
DelayMs(100);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author : stark1898y 1658608470@qq.com
|
||||
* @Date : 2024-12-15 16:13:37
|
||||
* @LastEditors : stark1898y 1658608470@qq.com
|
||||
* @LastEditTime : 2025-05-21 13:36:03
|
||||
* @LastEditTime : 2025-05-27 09:40:54
|
||||
* @FilePath : \BLE_TYQ_CH584M\BSP\inc\bsp_iwdg.h
|
||||
* @Description :
|
||||
*
|
||||
|
@ -21,7 +21,7 @@
|
|||
#define RB_WR_PROTECT 0x40000000 // RO, write protect
|
||||
#define RB_IWDG_EN 0x80000000 // RO, watch-dog enable
|
||||
|
||||
#define IWDG_TIMEOUT_MS (10000)
|
||||
#define IWDG_TIMEOUT_MS (4000)
|
||||
#define IWDG_FEED_MS (3000)
|
||||
|
||||
#define IWIG_FEED_EVENT (0x01 << 0)
|
||||
|
|
Loading…
Reference in New Issue