From 85bdc2361d3f1932539dc251f32e955d8e1c2fbd Mon Sep 17 00:00:00 2001 From: cfif Date: Thu, 30 Jul 2026 14:54:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81?= =?UTF-8?q?=D1=8B=20UDS=20(=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D1=83=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B0=D0=BA=D1=82=D1=83=D0=B0=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CanUds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CanUds.c b/CanUds.c index a6fb708..78645fa 100644 --- a/CanUds.c +++ b/CanUds.c @@ -602,7 +602,7 @@ static uint16_t InputOutputControlByIdentifier_2F(tCanUds *env) { uint8_t *pSet = (uint8_t *) &env->Status_Set_For_Model_output; - pSet[dataIdentifier_lo - 0x60 - 1] = 1; + pSet[dataIdentifier_lo - 0x60] = 1; memcpy(uds_IoDataByIdentifier_2F_com_CF[dataIdentifier_lo].data, &env->data->data[4], size); @@ -741,7 +741,7 @@ static uint16_t InputOutputControlByIdentifier_2F(tCanUds *env) { if ((dataIdentifier_lo >= 0x60) && (dataIdentifier_lo <= 0x78)) { uint8_t *pSet = (uint8_t *) &env->Status_Set_For_Model_output; - pSet[dataIdentifier_lo - 0x60 - 1] = 0; + pSet[dataIdentifier_lo - 0x60] = 0; return 4; } else {