From ec940eb3cfffd2888b880cb070cdeb11bc16bd62 Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 21 Jul 2026 15:25:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=B8?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Inc/LoggerToSerialPort.h | 2 +- Src/LoggerToSerialPort.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Inc/LoggerToSerialPort.h b/Inc/LoggerToSerialPort.h index 1cd50f9..24ecda2 100644 --- a/Inc/LoggerToSerialPort.h +++ b/Inc/LoggerToSerialPort.h @@ -41,7 +41,7 @@ typedef struct { uint16_t flags; int32_t greenwichOffset; - uint8_t buf_LOG[1024]; + uint8_t buf_LOG[256]; tLoggerDataBuf bufLogger[MAX_COUNT_BUF_LOG]; uint8_t bufLoggerNames[MAX_COUNT_BUF_LOG][MAX_LEN_BUF_NAME_LOG]; diff --git a/Src/LoggerToSerialPort.c b/Src/LoggerToSerialPort.c index 052cabc..5132cbf 100644 --- a/Src/LoggerToSerialPort.c +++ b/Src/LoggerToSerialPort.c @@ -178,7 +178,7 @@ static void LoggerCanToSerialPort_Logging( size_t pkt_size = data_size + 2; // данные + CRC + 0x03 // Отправка - SerialPortTransmit(env->serialPortIo_VIRT, env->bufLoggerCan, pkt_size, env->timeout); +// SerialPortTransmit(env->serialPortIo_VIRT, env->bufLoggerCan, pkt_size, env->timeout); osMutexRelease(env->access); }