Commit a1a8fb8f authored by 郑萍's avatar 郑萍

🐞 fix:51370 【润通草地车】【绥化问题】【刀盘挡位指示灯】电源状态只有在Ready状态下可以点亮刀盘档位指示灯

parent 859ed367
......@@ -30,7 +30,7 @@ void Gauge_Cutterhead_Gear_Display(void)
uint8_t Signal1 = Get_CAN_Num_BMCU_BladeSpeedGear();
uint8_t Signal2 = Get_CAN_Num_BMCU_ErrorGrage();
// uint8_t MBMS_StatBattWorkState = Get_CAN_CH0_ID_18203220_Sig_MBMS_StatBattWorkState();
if ((Common_Get_IG_Sts() == COMMON_POWER_ON) && (Charge_OFF_Flag == 0) && (Get_CAN_Power_State() == READY)&& (System_Indicator_CANFlag != 1))
if ((Common_Get_IG_Sts() == COMMON_POWER_ON) && (Charge_OFF_Flag == 0)&& (System_Indicator_CANFlag != 1))
{
if ((Signal2 == 0x1) || (Signal2 == 0x2) || (Signal2 == 0x3) || (Signal2 == 0x4))
{
......
......@@ -450,7 +450,7 @@ static Tellib_uint16_t LED_Cutterhead_Switch_Judgement(void)
{
Tellib_uint16_t LED_STATE = 0u;
Tellib_uint8_t Signal1 = Get_CAN_Num_BMCU_PTOSwicthState();
if ((Signal1 == 0x1) && openLED_flag && ((Get_CAN_Power_State() == READY)))
if ((Signal1 == 0x1) && openLED_flag )
{
LED_STATE = 1;
}
......@@ -730,7 +730,7 @@ static Tellib_uint16_t LED_Cutterhead_Gear_Judgement(void)
Tellib_uint16_t LED_STATE = 0u;
Tellib_uint8_t Signal1 = Get_CAN_Num_BMCU_BladeSpeedGear();
Tellib_uint8_t Signal2 = Get_CAN_Num_BMCU_ErrorGrage();
if(((Signal2 == 0x1) || (Signal2 == 0x2 )|| (Signal2 == 0x3) || (Signal2 == 0x4)) && openLED_flag && (Get_CAN_Power_State() == READY))
if(((Signal2 == 0x1) || (Signal2 == 0x2 )|| (Signal2 == 0x3) || (Signal2 == 0x4)) && openLED_flag )
{
if((Signal1 == 0x1) || (Signal1 == 0x2) || (Signal1 == 0x3))
{
......@@ -741,7 +741,7 @@ static Tellib_uint16_t LED_Cutterhead_Gear_Judgement(void)
LED_STATE = 0;
}
}
else if ((Signal2 == 0x0) && openLED_flag && (Get_CAN_Power_State() == READY))
else if ((Signal2 == 0x0) && openLED_flag)
{
if((Signal1 == 0x1) || (Signal1 == 0x2) || (Signal1 == 0x3))
{
......
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