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