Skip to content

Commit 20ad6d2

Browse files
committed
minor cleanup
removing a misleading comment
1 parent eea3968 commit 20ad6d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

wled00/cfg.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
219219
pinMode(btnPin[s], INPUT);
220220
} else {
221221
#ifdef ESP32
222-
// first check that analog button is valid
223222
pinMode(btnPin[s], buttonType[s]==BTN_TYPE_PUSH_ACT_HIGH ? INPUT_PULLDOWN : INPUT_PULLUP);
224223
#else
225224
pinMode(btnPin[s], INPUT_PULLUP);

0 commit comments

Comments
 (0)