diff --git a/tasmota/include/tasmota.h b/tasmota/include/tasmota.h index fccfc5b66..a9983cc04 100644 --- a/tasmota/include/tasmota.h +++ b/tasmota/include/tasmota.h @@ -40,7 +40,7 @@ const uint32_t POWER_SIZE = 32; // Power (relay) bit count #ifdef ESP8266 const uint8_t MAX_RELAYS = 8; // Max number of relays selectable on GPIO -const uint8_t MAX_INTERLOCKS = 4; // Max number of interlock groups (up to MAX_INTERLOCKS_SET) +const uint8_t MAX_INTERLOCKS = 16; // Max number of interlock groups (up to MAX_INTERLOCKS_SET) const uint8_t MAX_SWITCHES = 8; // Max number of switches selectable on GPIO const uint8_t MAX_KEYS = 8; // Max number of keys or buttons selectable on GPIO #endif // ESP8266 diff --git a/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino b/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino index 80616d21b..3526aec65 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino @@ -483,11 +483,7 @@ struct WEB { uint32_t upload_size = 0; uint32_t slider_update_time = 0; int slider[LST_MAX]; -#ifdef ESP8266 - int8_t shutter_slider[MAX_SHUTTERS]; -#else // ESP32 int8_t shutter_slider[16]; // MAX_SHUTTERS_ESP32 -#endif // ESP8266 uint16_t upload_error = 0; uint8_t state = HTTP_OFF; uint8_t upload_file_type; @@ -1283,6 +1279,8 @@ void WebGetDeviceCounts(uint32_t &buttons_non_light, uint32_t &buttons_non_light } } #endif // USE_SHUTTER + +// AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("HTP: DP %d, BNL %d, BNLNS %d, SB %08X"), TasmotaGlobal.devices_present, buttons_non_light, buttons_non_light_non_shutter, shutter_button); } #ifdef USE_LIGHT