Добавлен memset(&env->Status_Set_For_Model_output, 0, sizeof(tStatus_Set_For_Model)); при разрыве UDS сессии
This commit is contained in:
parent
9147ff7693
commit
f65702e5da
|
|
@ -2825,6 +2825,7 @@ void CanUds(tCanUds *env) {
|
||||||
env->currentSession = UDS_session_defaultSession;
|
env->currentSession = UDS_session_defaultSession;
|
||||||
statusData.Status_Active_Diagnostic_Session.Active_Diagnostic_Session = env->currentSession;
|
statusData.Status_Active_Diagnostic_Session.Active_Diagnostic_Session = env->currentSession;
|
||||||
|
|
||||||
|
memset(&env->Status_Set_For_Model_output, 0, sizeof(tStatus_Set_For_Model));
|
||||||
}
|
}
|
||||||
|
|
||||||
CanUdsOutput_Set_Model(env);
|
CanUdsOutput_Set_Model(env);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue