Commit 961622b2 authored by 郑萍's avatar 郑萍

🐞 fix:过压保护电压修改以及电池电量条高于10显示10

parent 1359cab7
......@@ -92,6 +92,10 @@ uint8_t Get_CAN_Num_MBMS_Soc_1_Grid(void)
{
num++;
}
if(num > 10)
{
num = 10;
}
return num;
}
uint8_t Get_CAN_Num_SBMS_Soc_2_Grid(void)
......@@ -103,6 +107,10 @@ uint8_t Get_CAN_Num_SBMS_Soc_2_Grid(void)
{
num++;
}
if(num > 10)
{
num = 10;
}
return num;
}
uint8_t SOC1_Count = 0;
......
......@@ -12,8 +12,8 @@
#define u16EXIT_HIGH_Y_RANGE 17000U
#define u16ENTER_HIGH_Y_RANGE 17500U
#define u16EXIT_HIGH_N_RANGE 17500U
#define u16ENTER_HIGH_N_RANGE 18000U
#define u16EXIT_HIGH_N_RANGE 18000U
#define u16ENTER_HIGH_N_RANGE 18500U
#define u16Top_Vol 0xffffu
......
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