summaryrefslogtreecommitdiffstats
path: root/esp32
diff options
context:
space:
mode:
Diffstat (limited to 'esp32')
-rw-r--r--esp32/main/main.c4
1 files changed, 2 insertions, 2 deletions
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");