audioreactive: typo
oops.
This commit is contained in:
parent
935ddd12ec
commit
67bcf42125
@ -3,7 +3,7 @@
|
|||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
#include "wled.h"
|
#include "wled.h"
|
||||||
#include <driver/i2s.h>
|
#include <driver/i2s.h>
|
||||||
include <driver/adc.h>
|
#include <driver/adc.h>
|
||||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)
|
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)
|
||||||
#include <driver/adc_deprecated.h>
|
#include <driver/adc_deprecated.h>
|
||||||
#include <driver/adc_types_deprecated.h>
|
#include <driver/adc_types_deprecated.h>
|
||||||
@ -99,7 +99,7 @@ class I2SSource : public AudioSource {
|
|||||||
.bits_per_sample = I2S_SAMPLE_RESOLUTION,
|
.bits_per_sample = I2S_SAMPLE_RESOLUTION,
|
||||||
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
||||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
|
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
|
||||||
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
|
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
|
||||||
#else
|
#else
|
||||||
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
|
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
|
||||||
#endif
|
#endif
|
||||||
@ -322,7 +322,7 @@ class I2SAdcSource : public I2SSource {
|
|||||||
.bits_per_sample = I2S_SAMPLE_RESOLUTION,
|
.bits_per_sample = I2S_SAMPLE_RESOLUTION,
|
||||||
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
||||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
|
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
|
||||||
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
|
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
|
||||||
#else
|
#else
|
||||||
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
|
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user