From ae97e7ee49c50999a8e2b2d3a98bb33f6759f956 Mon Sep 17 00:00:00 2001 From: cfif Date: Sun, 21 Jun 2026 20:45:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CanUds.c | 2 +- CanUds.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CanUds.c b/CanUds.c index cbcbc2e..8417d0e 100644 --- a/CanUds.c +++ b/CanUds.c @@ -1547,7 +1547,7 @@ static uint16_t RequestDownload_34(tCanUds *env) { requestDownload_Response->ServiceId = UDS_RequestDownload | 0b1000000; requestDownload_Response->lengthFormatIdentifier = 0x20; // 2 байта - длина поля maxNumberOfBlockLength - uint8_t countBlock = 16;//31; + uint8_t countBlock = 8;//31; requestDownload_Response->maxNumberOfBlockLength = countBlock * 128 + 2; diff --git a/CanUds.h b/CanUds.h index b5bc972..f2e747e 100644 --- a/CanUds.h +++ b/CanUds.h @@ -11,7 +11,7 @@ #include "CanSpamTransmitter.h" #include "AdcTasks.h" -#define LOG_UDS 0 +#define LOG_UDS 1 //#define CAN_US_QUEUE_SIZE 1