Fix hyphen
This commit is contained in:
parent
d904badf77
commit
66548a1e80
1 changed files with 7 additions and 6 deletions
|
@ -254,6 +254,7 @@ void OvmsVehicleRenaultZoePh2::IncomingINV(uint16_t type, uint16_t pid, const ch
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Handle incoming polls from the EVC Computer
|
||||
*/
|
||||
|
@ -277,7 +278,7 @@ void OvmsVehicleRenaultZoePh2::IncomingEVC(uint16_t type, uint16_t pid, const ch
|
|||
}
|
||||
case 0x21D0: {
|
||||
StandardMetrics.ms_v_charge_12v_temp->SetValue((float) (CAN_UINT(0) - 40));
|
||||
ESP_LOGD(TAG, "21D0 EVC ms_v_charge_12v_temp: %d", CAN_UINT(0) - 40));
|
||||
ESP_LOGD(TAG, "21D0 EVC ms_v_charge_12v_temp: %d", CAN_UINT(0) - 40);
|
||||
break;
|
||||
}
|
||||
case 0x20B4: {
|
||||
|
@ -287,15 +288,15 @@ void OvmsVehicleRenaultZoePh2::IncomingEVC(uint16_t type, uint16_t pid, const ch
|
|||
}
|
||||
case 0x21CF: {
|
||||
ESP_LOGD(TAG, "21CF EVC mt_inv_status: %d", CAN_UINT(0));
|
||||
if CAN_UINT(0)) == 1 {
|
||||
if (CAN_UINT(0) == 1) {
|
||||
mt_inv_status->SetValue("Inverter off");
|
||||
} else if CAN_UINT(0)) == 2 {
|
||||
} else if (CAN_UINT(0) == 2) {
|
||||
mt_inv_status->SetValue("Inverter on");
|
||||
} else if CAN_UINT(0)) == 3 {
|
||||
} else if (CAN_UINT(0) == 3) {
|
||||
mt_inv_status->SetValue("Inverter decharging");
|
||||
} else if CAN_UINT(0)) == 4 {
|
||||
} else if (CAN_UINT(0) == 4) {
|
||||
mt_inv_status->SetValue("Inverter alternator mode");
|
||||
} else if CAN_UINT(0)) == 5 {
|
||||
} else if (CAN_UINT(0) == 5) {
|
||||
mt_inv_status->SetValue("Inverter ready to sleep");
|
||||
} else {
|
||||
mt_inv_status->SetValue("Inverter state unknown");
|
||||
|
|
Loading…
Reference in a new issue