Fix hyphen
This commit is contained in:
parent
d904badf77
commit
66548a1e80
1 changed files with 7 additions and 6 deletions
|
@ -252,6 +252,7 @@ void OvmsVehicleRenaultZoePh2::IncomingINV(uint16_t type, uint16_t pid, const ch
|
||||||
mt_mot_temp_stator2->SetValue(float((CAN_UINT(0) - 40) * 0.001953125), Celcius);
|
mt_mot_temp_stator2->SetValue(float((CAN_UINT(0) - 40) * 0.001953125), Celcius);
|
||||||
ESP_LOGD(TAG, "7010 INV mt_mot_temp_stator2: %f", float((CAN_UINT(0) - 40) * 0.001953125));
|
ESP_LOGD(TAG, "7010 INV mt_mot_temp_stator2: %f", float((CAN_UINT(0) - 40) * 0.001953125));
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -277,7 +278,7 @@ void OvmsVehicleRenaultZoePh2::IncomingEVC(uint16_t type, uint16_t pid, const ch
|
||||||
}
|
}
|
||||||
case 0x21D0: {
|
case 0x21D0: {
|
||||||
StandardMetrics.ms_v_charge_12v_temp->SetValue((float) (CAN_UINT(0) - 40));
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case 0x20B4: {
|
case 0x20B4: {
|
||||||
|
@ -287,15 +288,15 @@ void OvmsVehicleRenaultZoePh2::IncomingEVC(uint16_t type, uint16_t pid, const ch
|
||||||
}
|
}
|
||||||
case 0x21CF: {
|
case 0x21CF: {
|
||||||
ESP_LOGD(TAG, "21CF EVC mt_inv_status: %d", CAN_UINT(0));
|
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");
|
mt_inv_status->SetValue("Inverter off");
|
||||||
} else if CAN_UINT(0)) == 2 {
|
} else if (CAN_UINT(0) == 2) {
|
||||||
mt_inv_status->SetValue("Inverter on");
|
mt_inv_status->SetValue("Inverter on");
|
||||||
} else if CAN_UINT(0)) == 3 {
|
} else if (CAN_UINT(0) == 3) {
|
||||||
mt_inv_status->SetValue("Inverter decharging");
|
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");
|
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");
|
mt_inv_status->SetValue("Inverter ready to sleep");
|
||||||
} else {
|
} else {
|
||||||
mt_inv_status->SetValue("Inverter state unknown");
|
mt_inv_status->SetValue("Inverter state unknown");
|
||||||
|
|
Loading…
Reference in a new issue