Skip to content

Commit

Permalink
Increase echo task stack size to 2*2048 for better performance.
Browse files Browse the repository at this point in the history
espressif/esp-idf#14382
espressif/esp-idf#14381
Update echo task stack size to be twice the original value.

- Increase echo task stack size to 2*2048 for better performance.
  • Loading branch information
franzhoepfinger committed Aug 16, 2024
1 parent 7086125 commit 627f6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uart_echo_rs485/main/rs485_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

// Read packet timeout
#define PACKET_READ_TICS (100 / portTICK_PERIOD_MS)
#define ECHO_TASK_STACK_SIZE (2048)
#define ECHO_TASK_STACK_SIZE (2*2048)
#define ECHO_TASK_PRIO (10)
#define ECHO_UART_PORT (CONFIG_ECHO_UART_PORT_NUM)

Expand Down

0 comments on commit 627f6b2

Please sign in to comment.