Skip to content

Button supports two instances in one app? (AEGHB-802) #402

@mike-2020

Description

@mike-2020

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Many internal variables of "button" are defined as static global variables. So, want to confirm if I can create two button instances in my app? one is for GPIO button, one is for ADC button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions