mirror of
https://github.com/esphome/esphome.git
synced 2025-10-08 12:53:45 +01:00
Allow i2s microphone bits per sample to be configured (#4884)
This commit is contained in:
@@ -41,7 +41,7 @@ async def setup_microphone_core_(var, config):
|
||||
trigger = cg.new_Pvariable(conf[CONF_TRIGGER_ID], var)
|
||||
await automation.build_automation(
|
||||
trigger,
|
||||
[(cg.std_vector.template(cg.uint8).operator("ref").operator("const"), "x")],
|
||||
[(cg.std_vector.template(cg.int16).operator("ref").operator("const"), "x")],
|
||||
conf,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user