|
@@ -2144,9 +2144,9 @@ int main(void)
|
|
|
//==================================================
|
|
|
// Case 11: Query primary Out put current config
|
|
|
//==================================================
|
|
|
- if((previousCharger.gun_info[gun_index].outputCurrent.L1N_L12[0] != ShmCharger->gun_info[gun_index].outputCurrent.L1N_L12[0]) ||
|
|
|
- (previousCharger.gun_info[gun_index].outputCurrent.L2N_L23[0] != ShmCharger->gun_info[gun_index].outputCurrent.L2N_L23[0]) ||
|
|
|
- (previousCharger.gun_info[gun_index].outputCurrent.L3N_L31[0] != ShmCharger->gun_info[gun_index].outputCurrent.L3N_L31[0]))
|
|
|
+ if(((int)previousCharger.gun_info[gun_index].outputCurrent.L1N_L12[0] != (int)ShmCharger->gun_info[gun_index].outputCurrent.L1N_L12[0]) ||
|
|
|
+ ((int)previousCharger.gun_info[gun_index].outputCurrent.L2N_L23[0] != (int)ShmCharger->gun_info[gun_index].outputCurrent.L2N_L23[0]) ||
|
|
|
+ ((int)previousCharger.gun_info[gun_index].outputCurrent.L3N_L31[0] != (int)ShmCharger->gun_info[gun_index].outputCurrent.L3N_L31[0]))
|
|
|
{
|
|
|
DEBUG_INFO("*******************************************\n");
|
|
|
DEBUG_INFO("***** High priority polling : Case 11 *****\n");
|
|
@@ -2169,9 +2169,9 @@ int main(void)
|
|
|
//==================================================
|
|
|
// Case 1: Query primary In put voltage
|
|
|
//==================================================
|
|
|
- if((previousCharger.gun_info[gun_index].inputVoltage.L1N_L12 != ShmCharger->gun_info[gun_index].inputVoltage.L1N_L12) ||
|
|
|
- (previousCharger.gun_info[gun_index].inputVoltage.L2N_L23 != ShmCharger->gun_info[gun_index].inputVoltage.L2N_L23) ||
|
|
|
- (previousCharger.gun_info[gun_index].inputVoltage.L3N_L31 != ShmCharger->gun_info[gun_index].inputVoltage.L3N_L31))
|
|
|
+ if(((int)previousCharger.gun_info[gun_index].inputVoltage.L1N_L12 != (int)ShmCharger->gun_info[gun_index].inputVoltage.L1N_L12) ||
|
|
|
+ ((int)previousCharger.gun_info[gun_index].inputVoltage.L2N_L23 != (int)ShmCharger->gun_info[gun_index].inputVoltage.L2N_L23) ||
|
|
|
+ ((int)previousCharger.gun_info[gun_index].inputVoltage.L3N_L31 != (int)ShmCharger->gun_info[gun_index].inputVoltage.L3N_L31))
|
|
|
{
|
|
|
DEBUG_INFO("===========================================\n");
|
|
|
DEBUG_INFO("==== Normal priority polling : Case 1 =====\n");
|