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