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

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
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

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