mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 19:18:09 +01:00
increase default ring buffer duration for better compatibility with existing components
This commit is contained in:
parent
e753d47b4d
commit
3b30165fbe
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ static const uint8_t DMA_BUFFER_DURATION_MS = 15;
|
|||
static const size_t DMA_BUFFERS_COUNT = 4;
|
||||
|
||||
static const size_t TASK_DELAY_MS = DMA_BUFFER_DURATION_MS * DMA_BUFFERS_COUNT / 2;
|
||||
static const uint32_t RING_BUFFER_DURATION_MS = 2 * DMA_BUFFER_DURATION_MS * DMA_BUFFERS_COUNT;
|
||||
static const uint32_t RING_BUFFER_DURATION_MS = 500;
|
||||
|
||||
static const size_t TASK_STACK_SIZE = 4096;
|
||||
static const ssize_t TASK_PRIORITY = 23;
|
||||
|
|
Loading…
Reference in a new issue