Merge pull request #12540 from Jason2866/patch-7

Enable use of Rules for Core2
This commit is contained in:
Theo Arends 2021-07-02 17:19:28 +02:00 committed by GitHub
commit 2cb3410f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,10 +115,9 @@
#define USE_SENDMAIL #define USE_SENDMAIL
#define USE_ESP32MAIL #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 // Script related defines
#ifdef USE_SCRIPT
#undef USE_RULES
#define MAXVARS 75 #define MAXVARS 75
#define MAXSVARS 15 #define MAXSVARS 15
#define MAXFILT 10 #define MAXFILT 10
@ -133,7 +132,7 @@
#define SCRIPT_FULL_WEBPAGE #define SCRIPT_FULL_WEBPAGE
#define SCRIPT_GET_HTTPS_JP #define SCRIPT_GET_HTTPS_JP
#define USE_GOOGLE_CHARTS #define USE_GOOGLE_CHARTS
#endif // USE_SCRIPT #endif // USE_RULES
#endif // FIRMWARE_M5STACK_CORE2 #endif // FIRMWARE_M5STACK_CORE2
/*********************************************************************************************\ /*********************************************************************************************\