Commit bdbaa735 authored by 李冠华's avatar 李冠华

feat:混动车型删除交互指示灯控制功能

parent cd94cce0
...@@ -181,6 +181,7 @@ void BackLight_Clock_All_Process(void) ...@@ -181,6 +181,7 @@ void BackLight_Clock_All_Process(void)
void Interact_Light_Process(void) void Interact_Light_Process(void)
{ {
#if (PART_NUMBER == RMR42E_60)
if ((Get_CAN_Power_State() != KEY_OFF) && (Get_CAN_Power_State() != POWER_CHECK_NULL) && (Charge_OFF_Flag == 0)) if ((Get_CAN_Power_State() != KEY_OFF) && (Get_CAN_Power_State() != POWER_CHECK_NULL) && (Charge_OFF_Flag == 0))
{ {
TimerM_PWM_set_duty(TIMERM_COUNTER0, TIMERM_CHD, interact_PWM_Low_Duty * 10); TimerM_PWM_set_duty(TIMERM_COUNTER0, TIMERM_CHD, interact_PWM_Low_Duty * 10);
...@@ -189,6 +190,7 @@ void Interact_Light_Process(void) ...@@ -189,6 +190,7 @@ void Interact_Light_Process(void)
{ {
TimerM_PWM_set_duty(TIMERM_COUNTER0, TIMERM_CHD, 1000); TimerM_PWM_set_duty(TIMERM_COUNTER0, TIMERM_CHD, 1000);
} }
#endif
} }
uint8_t Get_Interact_Light_State(void) uint8_t Get_Interact_Light_State(void)
{ {
......
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