Skip to content

macros spelled wrong #7

Closed
Closed

Description

@embenix

es7210_cfg.mic_selected = ES7120_SEL_MIC1 | ES7120_SEL_MIC2 | ES7120_SEL_MIC3 | ES7120_SEL_MIC4;

expected:
es7210_cfg.mic_selected = ES7210_SEL_MIC1 | ES7210_SEL_MIC2 | ES7210_SEL_MIC3 | ES7210_SEL_MIC4;

Activity

  1. Forairaaaaa commented on Nov 2, 2026

    @Forairaaaaa
    Contributor

    Thanks for pointing this out. The spelling originates from esp_codec_dev 1.3.4, the dependency version locked by this project. Its ES7210 header actually defines these macros as ES7120_SEL_MIC1 through ES7120_SEL_MIC4.

    Upstream has since corrected the names to ES7210_SEL_MIC*. The demo’s usage needs to remain consistent with the dependency version, so changing these names requires updating the dependency as well.

    The existing names have the correct microphone-selection values; this is a naming issue rather than a functional audio bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions