summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-09-08 17:32:24 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-09-08 17:32:24 +0800
commit08490eade83f9681d04dc773d3bd8f12e87327bf (patch)
treee2855e4d6749fc84296a9b83c0296e1b49376a24
parent04380ffc3353cecbbeac3d317f64bd11f215cffa (diff)
downloadesp32-inmp441-driver-08490eade83f9681d04dc773d3bd8f12e87327bf.tar.gz
wip.
-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");