Cosmetic set 12v current to zero on shutdown

This commit is contained in:
Carsten Schmiemann 2022-04-18 01:11:40 +02:00
parent 61e3bfbced
commit 3a7340ecf8
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ void OvmsVehicleRenaultZoePh2::IncomingFrameCan1(CAN_frame_t* p_frame) {
StandardMetrics.ms_v_env_awake->SetValue(false);
StandardMetrics.ms_v_env_charging12v->SetValue(false);
StandardMetrics.ms_v_pos_speed->SetValue( 0 );
StandardMetrics.ms_v_bat_12v_current->SetValue( 0 );
StandardMetrics.ms_v_charge_12v_current->SetValue( 0 );
POLLSTATE_OFF;
}
//There are some free frames on wakeup and start and stop charging.... I try to use them to see if Car is awake and charging, see /Reference/ZOE_Ph2_xxx text files