From f59680841fc2a370bf91e90c2d897148389fdec9 Mon Sep 17 00:00:00 2001 From: Nicolas Rabault Date: Sat, 24 Aug 2024 15:13:19 +0200 Subject: [PATCH] [Gate] Fix a small warning and increase PIPE_TX_BUFFER_SIZE fot big RTB by default --- examples/projects/l0/gate_serialcom/node_config.h | 2 +- tool_services/gate/gate.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/projects/l0/gate_serialcom/node_config.h b/examples/projects/l0/gate_serialcom/node_config.h index 5646cb775..8e1a4fc18 100644 --- a/examples/projects/l0/gate_serialcom/node_config.h +++ b/examples/projects/l0/gate_serialcom/node_config.h @@ -107,7 +107,7 @@ * INIT_TIME | 150 | Wait init time before first detection ******************************************************************************/ #define GATE_BUFF_SIZE 1024 -#define PIPE_TX_BUFFER_SIZE 1024 +#define PIPE_TX_BUFFER_SIZE 2048 #define PIPE_RX_BUFFER_SIZE 2048 /******************************************************************************* diff --git a/tool_services/gate/gate.c b/tool_services/gate/gate.c index e51246707..3effa60cd 100644 --- a/tool_services/gate/gate.c +++ b/tool_services/gate/gate.c @@ -53,7 +53,6 @@ void Gate_Init(void) ******************************************************************************/ void Gate_Loop(void) { - static uint32_t LastVoidMsg = 0; // We don't receive anything. // After 1s void reception send void data allowing client to send commands (because client could be synchronized to reception). if (LastReceptionDate == 0)