Skip to content

Commit

Permalink
[Gate] Fix a small warning and increase PIPE_TX_BUFFER_SIZE fot big R…
Browse files Browse the repository at this point in the history
…TB by default
  • Loading branch information
nicolas-rabault committed Jan 15, 2025
1 parent 97b8b7f commit ab2e55d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/projects/l0/gate_serialcom/node_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*******************************************************************************
Expand Down
1 change: 0 additions & 1 deletion tool_services/gate/gate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ab2e55d

Please sign in to comment.