summaryrefslogtreecommitdiffstats
path: root/esp32
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-09-08 17:54:11 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-09-08 17:54:11 +0800
commitdbe769145b7e9d2dfb48afd1e929ddd48a3d0e9d (patch)
treed193e7b5257cbb689ebc2a7d06297b28a5888cb9 /esp32
parent08490eade83f9681d04dc773d3bd8f12e87327bf (diff)
downloadesp32-inmp441-driver-dbe769145b7e9d2dfb48afd1e929ddd48a3d0e9d.tar.gz
It's alive!
Diffstat (limited to 'esp32')
-rw-r--r--esp32/main/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/esp32/main/main.c b/esp32/main/main.c
index 1cfb912..a1e6fda 100644
--- a/esp32/main/main.c
+++ b/esp32/main/main.c
@@ -18,7 +18,7 @@
#include "wifi.h"
-#define BUFLEN 2048
+#define BUFLEN 2100
#define SAMPLE_RATE 8000
#define I2S_WS GPIO_NUM_4
@@ -70,8 +70,6 @@ static void i2s_read_task(void *args)
sizeof dest_addr);
if (rc < 0)
ESP_LOGE(TAG, "sendto() failed: %s", strerror(errno));
-
- // vTaskDelay(1 / portTICK_PERIOD_MS);
}
} else
printf("Read Task: i2s read failed\n");