From 2b3f5164243288970473c80a98279fbb0c02c3c3 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 2 Jul 2021 16:50:37 +0200 Subject: [PATCH] Enable use of Rules for Core2 --- tasmota/tasmota_configurations_ESP32.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasmota/tasmota_configurations_ESP32.h b/tasmota/tasmota_configurations_ESP32.h index 8f72e305d..5ebf6ba9e 100644 --- a/tasmota/tasmota_configurations_ESP32.h +++ b/tasmota/tasmota_configurations_ESP32.h @@ -115,10 +115,9 @@ #define USE_SENDMAIL #define USE_ESP32MAIL -#define USE_SCRIPT // Add support for script (+17k code) +#ifndef USE_RULES + #define USE_SCRIPT // Add support for script (+17k code) // Script related defines -#ifdef USE_SCRIPT - #undef USE_RULES #define MAXVARS 75 #define MAXSVARS 15 #define MAXFILT 10 @@ -133,7 +132,7 @@ #define SCRIPT_FULL_WEBPAGE #define SCRIPT_GET_HTTPS_JP #define USE_GOOGLE_CHARTS -#endif // USE_SCRIPT +#endif // USE_RULES #endif // FIRMWARE_M5STACK_CORE2 /*********************************************************************************************\