- parentheses fix
This commit is contained in:
Blaž Kristan 2021-06-02 08:46:29 +02:00
parent 06caace827
commit 777a95d23c
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ void handleButton()
for (uint8_t b=0; b<WLED_MAX_BUTTONS; b++) {
#ifdef ESP8266
if ((btnPin[b]<0 && !(buttonType[b] == BTN_TYPE_ANALOG) || buttonType[b] == BTN_TYPE_ANALOG_INVERTED) || buttonType[b] == BTN_TYPE_NONE) continue;
if ((btnPin[b]<0 && !(buttonType[b] == BTN_TYPE_ANALOG || buttonType[b] == BTN_TYPE_ANALOG_INVERTED)) || buttonType[b] == BTN_TYPE_NONE) continue;
#else
if (btnPin[b]<0 || buttonType[b] == BTN_TYPE_NONE) continue;
#endif

View File

@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2106022
#define VERSION 2106023
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG