Skip to content

BTNPIN flag does not work for multiple buttons #3792

@ZOUDIO

Description

@ZOUDIO

What happened?

The BTNPIN flag does not seem to be working for multiple pins. Only the first pin gets added.

To Reproduce Bug

I used the buildflag '-D BTNPIN=14,32' but only 14 shows up in the GUI
button

Expected Behavior

I would expect multiple buttons to be initialized and visible in the web GUI.

Install Method

Self-Compiled

What version of WLED?

v0.14.1

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

-

Anything else?

I used the same type of buildflag for multiple LED output pins, and this is working:
-D DATA_PINS=2,4,12,13,15,17

So it is specifically related to this build flag it seems

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmedThe bug is reproducable and confirmedfixed in sourceThis issue is unsolved in the latest release but fixed in master

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions