minor cleanup

removing a misleading comment
This commit is contained in:
Frank 2022-12-10 19:23:00 +01:00
parent eea3968bfb
commit 20ad6d239d

View File

@ -219,7 +219,6 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
pinMode(btnPin[s], INPUT); pinMode(btnPin[s], INPUT);
} else { } else {
#ifdef ESP32 #ifdef ESP32
// first check that analog button is valid
pinMode(btnPin[s], buttonType[s]==BTN_TYPE_PUSH_ACT_HIGH ? INPUT_PULLDOWN : INPUT_PULLUP); pinMode(btnPin[s], buttonType[s]==BTN_TYPE_PUSH_ACT_HIGH ? INPUT_PULLDOWN : INPUT_PULLUP);
#else #else
pinMode(btnPin[s], INPUT_PULLUP); pinMode(btnPin[s], INPUT_PULLUP);