Обновление

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