Обновление

This commit is contained in:
cfif 2025-12-02 14:58:17 +03:00
parent f4fb6443d7
commit 25c432601e
1 changed files with 33 additions and 32 deletions

View File

@ -625,6 +625,8 @@ lin_event_id_t Lin0_Scheduler(tLinTaskActuator *env) {
&ParitySlave, &ParitySlave,
&Version_CFR); &Version_CFR);
if (ret == LIN_RX_COMPLETED) {
if (BUS_ADR != i) { if (BUS_ADR != i) {
asm("nop"); asm("nop");
} }
@ -640,8 +642,6 @@ lin_event_id_t Lin0_Scheduler(tLinTaskActuator *env) {
asm("nop"); asm("nop");
} }
if (ret == LIN_TX_COMPLETED) {
} else { } else {
return ret; return ret;
} }
@ -694,6 +694,8 @@ lin_event_id_t Lin0_Scheduler(tLinTaskActuator *env) {
&Stall_Slave, &Stall_Slave,
&Reset_Slave); &Reset_Slave);
if (ret == LIN_RX_COMPLETED) {
if (BUS_ADR != i) { if (BUS_ADR != i) {
asm("nop"); asm("nop");
} }
@ -712,7 +714,6 @@ lin_event_id_t Lin0_Scheduler(tLinTaskActuator *env) {
asm("nop"); asm("nop");
} }
if (ret == LIN_RX_COMPLETED) {
} else { } else {
return ret; return ret;