mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 11:21:43 +01:00
Fix pin schema for i2s microphone (#4680)
This commit is contained in:
parent
a3cacc0c8b
commit
0b9e8fda34
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ CONFIG_SCHEMA = microphone.MICROPHONE_SCHEMA.extend(
|
|||
{
|
||||
cv.GenerateID(): cv.declare_id(I2SAudioMicrophone),
|
||||
cv.GenerateID(CONF_I2S_AUDIO_ID): cv.use_id(I2SAudioComponent),
|
||||
cv.Required(CONF_I2S_DIN_PIN): pins.internal_gpio_output_pin_number,
|
||||
cv.Required(CONF_I2S_DIN_PIN): pins.internal_gpio_input_pin_number,
|
||||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
|
Loading…
Reference in a new issue