From 7695a2c5bf457e719d6387e1b03e6798e528e8d3 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 22 Dec 2019 17:15:47 +0100 Subject: [PATCH] Change max number of rule ``Var``s to 16 Change max number of rule ``Var``s from 5 to 16 (#4933) --- README.md | 3 ++- RELEASENOTES.md | 3 ++- tasmota/CHANGELOG.md | 1 + tasmota/tasmota.h | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9a9ff0e1c..43bf4604a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ In addition to the [release webpage](https://github.com/arendst/Tasmota/releases ## Development -[![Dev Version](https://img.shields.io/badge/development%20version-v7.2.x.x-blue.svg)](https://github.com/arendst/Tasmota) +[![Dev Version](https://img.shields.io/badge/development%20version-v8.0.x.x-blue.svg)](https://github.com/arendst/Tasmota) [![Download Dev](https://img.shields.io/badge/download-development-yellow.svg)](http://thehackbox.org/tasmota/) [![Build Status](https://img.shields.io/travis/arendst/Tasmota.svg)](https://travis-ci.org/arendst/Tasmota) @@ -67,6 +67,7 @@ See [wiki migration path](https://tasmota.github.io/docs/#/Upgrading?id=migratio 3. Migrate to **Sonoff-Tasmota 5.14** 4. Migrate to **Sonoff-Tasmota 6.x** 5. Migrate to **Tasmota 7.x** +6. Migrate to **Tasmota 8.x** ## Support Information diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b2bff6a7a..8ac156872 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -51,4 +51,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) +- Change max number of rule ``Var``s from 5 to 16 (#4933) +- Add support for max 150 characters in most command parameter strings (#3686, #4754) diff --git a/tasmota/CHANGELOG.md b/tasmota/CHANGELOG.md index 1c99c7223..653112388 100644 --- a/tasmota/CHANGELOG.md +++ b/tasmota/CHANGELOG.md @@ -5,6 +5,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) +- Change max number of rule ``Var``s from 5 to 16 (#4933) - Add support for max 150 characters in most command parameter strings (#3686, #4754) ## Released diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index bdbe5d177..829a90871 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -143,7 +143,7 @@ const uint32_t LOOP_SLEEP_DELAY = 50; // Lowest number of milliseconds to \*********************************************************************************************/ #define MAX_RULE_TIMERS 8 // Max number of rule timers (4 bytes / timer) -#define MAX_RULE_VARS 5 // Max number of rule variables (10 bytes / variable) +#define MAX_RULE_VARS 16 // Max number of rule variables (33 bytes / variable) /* // Removed from esp8266 core since 20171105