1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-16 23:05:46 +00:00
Files
esphome/esphome/components/es8388/select/adc_input_mic_select.cpp

13 lines
276 B
C++

#include "adc_input_mic_select.h"
namespace esphome {
namespace es8388 {
void ADCInputMicSelect::control(size_t index) {
this->publish_state(index);
this->parent_->set_adc_input_mic(static_cast<AdcInputMicLine>(index));
}
} // namespace es8388
} // namespace esphome