Commit b30d9f7a authored by 李俭双's avatar 李俭双

🐞 fix:48018 【天鹰TY200】【IGN OFF检测】电压有问题

parent 3fa0fa7f
...@@ -104,7 +104,7 @@ monitorlib_uint8_t Sys_Read_KL15_Valid(void) ...@@ -104,7 +104,7 @@ monitorlib_uint8_t Sys_Read_KL15_Valid(void)
monitorlib_uint8_t System_LINE_KL15(void) monitorlib_uint8_t System_LINE_KL15(void)
{ {
monitorlib_uint8_t u8KL15 = 0; static monitorlib_uint8_t u8KL15 = 0;
//if (RTE_GPIO_Get_Level(WAKEUP_KL15_In) == 1u ) //if (RTE_GPIO_Get_Level(WAKEUP_KL15_In) == 1u )
//{ //{
...@@ -115,7 +115,7 @@ monitorlib_uint8_t System_LINE_KL15(void) ...@@ -115,7 +115,7 @@ monitorlib_uint8_t System_LINE_KL15(void)
// u8KL15 = 0; // u8KL15 = 0;
//} //}
if ((Sys_Read_KL15_Voltage() >= 5500u ) && (RTE_GPIO_Get_Level(WAKEUP_KL15_In) == 1u )) if (Sys_Read_KL15_Voltage() >= 5500u )
{ {
u8KL15 = 1u; u8KL15 = 1u;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment