Commit 22003fc6 authored by 陈家乐's avatar 陈家乐

🐞 fix:应该是最终版了

parent 47cf920e
...@@ -4008,16 +4008,17 @@ typedef union ...@@ -4008,16 +4008,17 @@ typedef union
unsigned date[8]; unsigned date[8];
struct { struct {
uint32_t : 8; uint8_t : 8;
uint32_t : 8; uint8_t : 8;
uint32_t : 8; uint8_t : 8;
uint32_t : 2; uint8_t : 2;
uint32_t TCS_Warning: 1; uint8_t TCS_Warning: 1;
uint32_t : 5; uint8_t TCS_Work_Mode: 1;
uint32_t : 8; uint8_t : 4;
uint32_t : 8; uint8_t : 8;
uint32_t : 8; uint8_t : 8;
uint32_t : 8; uint8_t : 8;
uint8_t : 8;
}bits; }bits;
// unsigned int : 6 ; // unsigned int : 6 ;
......
...@@ -396,6 +396,7 @@ void HJ_LED(en_port_gpio_level_t LedState) ...@@ -396,6 +396,7 @@ void HJ_LED(en_port_gpio_level_t LedState)
Port_SetPortPinLevel(0, 0, PortGpioLow);//机油压力 Port_SetPortPinLevel(0, 0, PortGpioLow);//机油压力
Port_SetPortPinLevel(2, 13, PortGpioLow);//N档灯 Port_SetPortPinLevel(2, 13, PortGpioLow);//N档灯
TCS_37B.msg.bits.TCS_Warning = 0;//TCS TCS_37B.msg.bits.TCS_Warning = 0;//TCS
TCS_37B.msg.bits.TCS_Work_Mode = 0;
ISG_111.msg.bits.ISG_Ready = 0;//HEV灯 ISG_111.msg.bits.ISG_Ready = 0;//HEV灯
ISG_111.msg.bits.ISG_Power_Enable = 0;//E、S灯 ISG_111.msg.bits.ISG_Power_Enable = 0;//E、S灯
...@@ -509,7 +510,8 @@ void HJ_LED(en_port_gpio_level_t LedState) ...@@ -509,7 +510,8 @@ void HJ_LED(en_port_gpio_level_t LedState)
Port_SetPortPinLevel(2, 0, PortGpioHigh);//左转 Port_SetPortPinLevel(2, 0, PortGpioHigh);//左转
Port_SetPortPinLevel(2, 1, PortGpioHigh);//远光 Port_SetPortPinLevel(2, 1, PortGpioHigh);//远光
Port_SetPortPinLevel(2, 21, PortGpioLow);//ABS Port_SetPortPinLevel(2, 21, PortGpioLow);//ABS
Port_SetPortPinLevel(1, 28, PortGpioHigh);//电故障 备用1 Port_SetPortPinLevel(2, 28, PortGpioHigh);//电故障 备用1
Port_SetPortPinLevel(1, 13, PortGpioHigh);//右转 Port_SetPortPinLevel(1, 13, PortGpioHigh);//右转
Port_SetPortPinLevel(0, 0, PortGpioHigh);//机油压力 Port_SetPortPinLevel(0, 0, PortGpioHigh);//机油压力
Port_SetPortPinLevel(2, 13, PortGpioHigh);//N档灯 Port_SetPortPinLevel(2, 13, PortGpioHigh);//N档灯
......
This diff is collapsed.
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