Обновление

This commit is contained in:
cfif 2025-12-02 17:33:58 +03:00
parent 25c432601e
commit 7b6c99c81a
2 changed files with 37 additions and 30 deletions

View File

@ -682,6 +682,10 @@ lin_event_id_t Lin0_Scheduler(tLinTaskActuator *env) {
eStall_STA Stall_Slave;
eReset_STA Reset_Slave;
if ((env->linStateActuator[i].DIAGNOSE_MT) || (env->linCommandActuator[i].isRFR_STA)) {
env->linCommandActuator[i].isRFR_STA = 0;
ret = RFR_STA_x(env->linIo, env->linData,
&BUS_ADR,
&CPOS_ALL,
@ -718,6 +722,7 @@ lin_event_id_t Lin0_Scheduler(tLinTaskActuator *env) {
} else {
return ret;
}
}
} else {
return ret;

View File

@ -440,6 +440,8 @@ typedef struct {
uint8_t Baudrate;
uint8_t Version_CFR;
uint8_t isRFR_STA;
} tLinCommandActuator;
typedef struct {