From: SnickerSun Date: Tue, 30 Jan 2024 07:30:27 +0000 (+0800) Subject: fix vbus unplug detection X-Git-Tag: release_V1.2.70_20241020_135402~1320 X-Git-Url: http://git.snicker.com.cn/Users/apple/Desktop/static/gitweb.css?a=commitdiff_plain;h=ec69ce7e0d4a2f6952f23f42a3ad440a83337c5a;p=mirrors%2FFD230.git fix vbus unplug detection --- diff --git a/code/sdk/drivers/chips/brandy/porting/include/button_porting.h b/code/sdk/drivers/chips/brandy/porting/include/button_porting.h index 1c2337b1d..31f0e4cca 100755 --- a/code/sdk/drivers/chips/brandy/porting/include/button_porting.h +++ b/code/sdk/drivers/chips/brandy/porting/include/button_porting.h @@ -46,8 +46,8 @@ extern "C" { #define WKUP_SYSTICK_MASK 0x2 #define WKUP_PWRON_MASK 0x3 #define WKUP_VBUS_EN_MASK 0x4 -#define ULP_WKUP_INT_EN_MASK 0x1C -#define ULP_WKUP_INT_CLR_MASK 0x1C +#define ULP_WKUP_INT_EN_MASK 0x3C +#define ULP_WKUP_INT_CLR_MASK 0x3C #define ULP_INT_CLEAR_DELAY 100 #define PWRON_PD_MODE_POS4 0x4 #define PWRON_TM_MODE_POS0 0x0