From 08490eade83f9681d04dc773d3bd8f12e87327bf Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 8 Sep 2024 17:32:24 +0800 Subject: wip. --- esp32/main/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'esp32') diff --git a/esp32/main/main.c b/esp32/main/main.c index 344a995..1cfb912 100644 --- a/esp32/main/main.c +++ b/esp32/main/main.c @@ -18,7 +18,7 @@ #include "wifi.h" -#define BUFLEN 1024 +#define BUFLEN 2048 #define SAMPLE_RATE 8000 #define I2S_WS GPIO_NUM_4 @@ -71,7 +71,7 @@ static void i2s_read_task(void *args) if (rc < 0) ESP_LOGE(TAG, "sendto() failed: %s", strerror(errno)); - vTaskDelay(1 / portTICK_PERIOD_MS); + // vTaskDelay(1 / portTICK_PERIOD_MS); } } else printf("Read Task: i2s read failed\n"); -- cgit v1.2.3