From 87f89f0a7d0591173ca67f2f61f91ec27632c24a Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 6 May 2020 17:44:44 +0200 Subject: [PATCH] Change max number of supported PCF8574 to four Change max number of supported PCF8574 to four (#8355) --- tasmota/settings.h | 3 +++ tasmota/tasmota.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tasmota/settings.h b/tasmota/settings.h index 81ee3baf8..bcbe35fa7 100644 --- a/tasmota/settings.h +++ b/tasmota/settings.h @@ -481,6 +481,9 @@ struct { uint8_t shutter_position[MAX_SHUTTERS]; // E80 uint8_t shutter_startrelay[MAX_SHUTTERS]; // E84 uint8_t pcf8574_config[MAX_PCF8574]; // E88 + + uint8_t free_e8c[4]; // E8C + uint16_t dimmer_hw_min; // E90 uint16_t dimmer_hw_max; // E92 uint32_t deepsleep; // E94 diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index a1a3cb473..fe4e41b01 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -68,7 +68,7 @@ const uint8_t MAX_XDRV_DRIVERS = 96; // Max number of allowed driver driv const uint8_t MAX_XSNS_DRIVERS = 96; // Max number of allowed sensor drivers const uint8_t MAX_I2C_DRIVERS = 96; // Max number of allowed i2c drivers const uint8_t MAX_SHUTTERS = 4; // Max number of shutters -const uint8_t MAX_PCF8574 = 8; // Max number of PCF8574 devices +const uint8_t MAX_PCF8574 = 4; // Max number of PCF8574 devices const uint8_t MAX_RULE_SETS = 3; // Max number of rule sets of size 512 characters const uint16_t MAX_RULE_SIZE = 512; // Max number of characters in rules