mirror of https://github.com/arendst/Tasmota.git
Change max number of rule ``Mem``s to 16
Change max number of rule ``Mem``s from 5 to 16 (#4933)
This commit is contained in:
parent
ad4a7e91ac
commit
c806b22e9d
|
@ -50,4 +50,5 @@ The following binary downloads have been compiled with ESP8266/Arduino library c
|
|||
|
||||
- Change Settings text handling allowing variable length text within a total text pool of 699 characters
|
||||
- Change Smoother ``Fade`` using 100Hz instead of 20Hz animation (#7179)
|
||||
- Change max number of rule ``Mem``s from 5 to 16 (#4933)
|
||||
- Add support for max 150 characters in command parameter strings (#3686, #4754)
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- Change Settings text handling allowing variable length text within a total text pool of 699 characters
|
||||
- Change Smoother ``Fade`` using 100Hz instead of 20Hz animation (#7179)
|
||||
- Change max number of rule ``Mem``s from 5 to 16 (#4933)
|
||||
- Add support for max 150 characters in most command parameter strings (#3686, #4754)
|
||||
|
||||
## Released
|
||||
|
|
|
@ -73,7 +73,7 @@ const uint8_t MAX_PCF8574 = 8; // 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
|
||||
|
||||
const uint8_t MAX_RULE_MEMS = 5; // Max number of saved vars
|
||||
const uint8_t MAX_RULE_MEMS = 16; // Max number of saved vars
|
||||
const uint8_t MAX_HUE_DEVICES = 15; // Max number of Philips Hue device per emulation
|
||||
|
||||
const char MQTT_TOKEN_PREFIX[] PROGMEM = "%prefix%"; // To be substituted by mqtt_prefix[x]
|
||||
|
|
|
@ -174,8 +174,8 @@ char rules_vars[MAX_RULE_VARS][33] = {{ 0 }};
|
|||
#if (MAX_RULE_VARS>16)
|
||||
#error MAX_RULE_VARS is bigger than 16
|
||||
#endif
|
||||
#if (MAX_RULE_MEMS>5)
|
||||
#error MAX_RULE_MEMS is bigger than 5
|
||||
#if (MAX_RULE_MEMS>16)
|
||||
#error MAX_RULE_MEMS is bigger than 16
|
||||
#endif
|
||||
|
||||
/*******************************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue