diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-09-07 22:06:34 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-09-07 22:06:34 +0800 |
| commit | a190430b739407c8690a17e8ca4a4d2668101fda (patch) | |
| tree | b9d8da27ff85b3a08400d264f9e661761c6acd43 /esp32 | |
| parent | 7a4462e9a9245f240a3c9ee6be3597f0dcc8edd8 (diff) | |
| download | esp32-inmp441-driver-a190430b739407c8690a17e8ca4a4d2668101fda.tar.gz | |
Use philips format.
Diffstat (limited to 'esp32')
| -rw-r--r-- | esp32/main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp32/main/main.c b/esp32/main/main.c index 3cce6e5..e0f3e05 100644 --- a/esp32/main/main.c +++ b/esp32/main/main.c @@ -51,7 +51,7 @@ static inline void i2s_init(void) i2s_std_config_t std_cfg = { .clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(SAMP_RATE), - .slot_cfg = I2S_STD_MSB_SLOT_DEFAULT_CONFIG( + .slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG( I2S_DATA_BIT_WIDTH_24BIT, I2S_SLOT_MODE_MONO), .gpio_cfg = { |
