mirror of https://github.com/arendst/Tasmota.git
Minor changes
This commit is contained in:
parent
038e62b72c
commit
a838ec09f8
|
@ -40,7 +40,7 @@ const uint32_t POWER_SIZE = 32; // Power (relay) bit count
|
||||||
|
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
const uint8_t MAX_RELAYS = 8; // Max number of relays selectable on GPIO
|
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_SWITCHES = 8; // Max number of switches selectable on GPIO
|
||||||
const uint8_t MAX_KEYS = 8; // Max number of keys or buttons selectable on GPIO
|
const uint8_t MAX_KEYS = 8; // Max number of keys or buttons selectable on GPIO
|
||||||
#endif // ESP8266
|
#endif // ESP8266
|
||||||
|
|
|
@ -483,11 +483,7 @@ struct WEB {
|
||||||
uint32_t upload_size = 0;
|
uint32_t upload_size = 0;
|
||||||
uint32_t slider_update_time = 0;
|
uint32_t slider_update_time = 0;
|
||||||
int slider[LST_MAX];
|
int slider[LST_MAX];
|
||||||
#ifdef ESP8266
|
|
||||||
int8_t shutter_slider[MAX_SHUTTERS];
|
|
||||||
#else // ESP32
|
|
||||||
int8_t shutter_slider[16]; // MAX_SHUTTERS_ESP32
|
int8_t shutter_slider[16]; // MAX_SHUTTERS_ESP32
|
||||||
#endif // ESP8266
|
|
||||||
uint16_t upload_error = 0;
|
uint16_t upload_error = 0;
|
||||||
uint8_t state = HTTP_OFF;
|
uint8_t state = HTTP_OFF;
|
||||||
uint8_t upload_file_type;
|
uint8_t upload_file_type;
|
||||||
|
@ -1283,6 +1279,8 @@ void WebGetDeviceCounts(uint32_t &buttons_non_light, uint32_t &buttons_non_light
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // USE_SHUTTER
|
#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
|
#ifdef USE_LIGHT
|
||||||
|
|
Loading…
Reference in New Issue