|
@@ -1064,7 +1064,8 @@ void SystemDeinit(void)
|
|
|
|| pinIndex == PortConfigSet_PortContainer_INT_PTE11_GPIO_IN_MCU_3D_INT1
|
|
|
|| pinIndex == PortConfigSet_PortContainer_INT_PTD5_GPIO_IN_MCU_3D_INT2
|
|
|
|| pinIndex == PortConfigSet_PortContainer_INT_PTB0_GPIO_IN_MCU_WAKEUP1
|
|
|
- || pinIndex == PortConfigSet_PortContainer_INT_PTE2_GPIO_IN_MCU_WAKEUP2)
|
|
|
+ || pinIndex == PortConfigSet_PortContainer_INT_PTE2_GPIO_IN_MCU_WAKEUP2
|
|
|
+ || pinIndex == DioConf_DioChannel_PTA1_GPIO_OUT_MCU_BAT_PWR_EN)
|
|
|
{
|
|
|
continue;
|
|
|
}
|
|
@@ -1230,6 +1231,9 @@ void SystemModulesInit(void)
|
|
|
/* Enable the Gpt notification to periodically service the Wdg */
|
|
|
// Gpt_EnableNotification(GptConf_GptChannelConfiguration_GptChannelConfiguration_0);
|
|
|
|
|
|
+ //enable the batt power
|
|
|
+ Dio_WriteChannel(DioConf_DioChannel_PTA1_GPIO_OUT_MCU_BAT_PWR_EN,STD_ON);
|
|
|
+
|
|
|
Icu_DeInit();
|
|
|
|
|
|
WdgInit();
|