- parentheses fix
pull/2737/head
Blaž Kristan 2021-06-02 08:46:29 +02:00
rodzic 06caace827
commit 777a95d23c
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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