From 2497f0795bb1680064f9c11680ddff734f999c19 Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 2 Jun 2026 17:45:33 +0300 Subject: [PATCH] Init --- LinSensorTasks.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LinSensorTasks.c b/LinSensorTasks.c index b297ee7..93a7295 100644 --- a/LinSensorTasks.c +++ b/LinSensorTasks.c @@ -351,9 +351,11 @@ static lin_event_id_t Lin5_Scheduler(tLin5TaskSensor *env) { tDRS_Stat DRS_Stat; if (isNowData) { + isNowData = false; DRS_Stat.DRS_Btn_Stat = 1; } else { - DRS_Stat.DRS_LinRespErr_Stat = 1; + isNowData = true; + DRS_Stat.DRS_Btn_Stat = 0; } for (uint8_t i = 0; i < 8; ++i) {