diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-09-08 17:32:24 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-09-08 17:32:24 +0800 |
| commit | 08490eade83f9681d04dc773d3bd8f12e87327bf (patch) | |
| tree | e2855e4d6749fc84296a9b83c0296e1b49376a24 | |
| parent | 04380ffc3353cecbbeac3d317f64bd11f215cffa (diff) | |
| download | esp32-inmp441-driver-08490eade83f9681d04dc773d3bd8f12e87327bf.tar.gz | |
wip.
| -rw-r--r-- | esp32/main/main.c | 4 |
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"); |
