mirror of
https://github.com/esphome/esphome.git
synced 2025-08-02 08:27:47 +00:00
Merge remote-tracking branch 'upstream/dev' into memory_api
This commit is contained in:
commit
eeb827e88f
@ -36,8 +36,8 @@ class I2SAudioMicrophone : public I2SAudioIn, public microphone::Microphone, pub
|
|||||||
|
|
||||||
#ifdef USE_I2S_LEGACY
|
#ifdef USE_I2S_LEGACY
|
||||||
#if SOC_I2S_SUPPORTS_ADC
|
#if SOC_I2S_SUPPORTS_ADC
|
||||||
void set_adc_channel(adc1_channel_t channel) {
|
void set_adc_channel(adc_channel_t channel) {
|
||||||
this->adc_channel_ = channel;
|
this->adc_channel_ = (adc1_channel_t) channel;
|
||||||
this->adc_ = true;
|
this->adc_ = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user