Fix GUI password and Add rule expression

* Fix GUI wifi password acception starting with asteriks (*) (#5231, #5242)
 * Add rule expression enabled  by define USE_EXPRESSION in my_user_config.h (#5210)
This commit is contained in:
Theo Arends 2019-02-16 16:17:17 +01:00
parent 7c9720de9d
commit 14d5f7fb54
4 changed files with 12 additions and 13 deletions

View File

@ -1,6 +1,8 @@
/* 6.4.1.17 20190214 /* 6.4.1.17 20190214
* Change template update by removing possibility to add user module config keeping template as defined (#5222) * Change template update by removing possibility to add user module config keeping template as defined (#5222)
* Fix regression from 6.4.1.16 where GPIO9 and GPIO10 connected devices did not work (#5197) * Fix regression from 6.4.1.16 where GPIO9 and GPIO10 connected devices did not work (#5197)
* Fix GUI wifi password acception starting with asteriks (*) (#5231, #5242)
* Add rule expression enabled by define USE_EXPRESSION in my_user_config.h (#5210)
* *
* 6.4.1.16 20190211 * 6.4.1.16 20190211
* Initial support for online template change using command Template or GUI Configure Other (#5177) * Initial support for online template change using command Template or GUI Configure Other (#5177)

View File

@ -278,9 +278,7 @@
// -- Rules --------------------------------------- // -- Rules ---------------------------------------
#define USE_RULES // Add support for rules (+4k4 code) #define USE_RULES // Add support for rules (+4k4 code)
#ifdef USE_RULES #define USE_EXPRESSION // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
#define USE_EXPRESSION // Add support for expression evaluation in rules (+3k1 code, +28 bytes mem)
#endif
// -- Internal Analog input ----------------------- // -- Internal Analog input -----------------------
#define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices #define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices

View File

@ -64,9 +64,6 @@
#ifdef USE_SPI #ifdef USE_SPI
#include <SPI.h> // SPI support, TFT #include <SPI.h> // SPI support, TFT
#endif // USE_SPI #endif // USE_SPI
#ifdef USE_EXPRESSION
#include <LinkedList.h> // Import LinkedList library
#endif
// Structs // Structs
#include "settings.h" #include "settings.h"

View File

@ -91,6 +91,8 @@
const char kCompareOperators[] PROGMEM = "=\0>\0<\0|\0==!=>=<="; const char kCompareOperators[] PROGMEM = "=\0>\0<\0|\0==!=>=<=";
#ifdef USE_EXPRESSION #ifdef USE_EXPRESSION
#include <LinkedList.h> // Import LinkedList library
const char kExpressionOperators[] PROGMEM = "+-*/%^"; const char kExpressionOperators[] PROGMEM = "+-*/%^";
#define EXPRESSION_OPERATOR_ADD 0 #define EXPRESSION_OPERATOR_ADD 0
#define EXPRESSION_OPERATOR_SUBTRACT 1 #define EXPRESSION_OPERATOR_SUBTRACT 1