mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
commit
85fcdcc4b0
@ -88,6 +88,8 @@ uint32_t rules_triggers = 0;
|
|||||||
uint8_t rules_trigger_count = 0;
|
uint8_t rules_trigger_count = 0;
|
||||||
uint8_t rules_teleperiod = 0;
|
uint8_t rules_teleperiod = 0;
|
||||||
|
|
||||||
|
char vars[RULES_MAX_VARS][10] = { 0 };
|
||||||
|
|
||||||
/*******************************************************************************************/
|
/*******************************************************************************************/
|
||||||
|
|
||||||
long TimeDifference(unsigned long prev, unsigned long next)
|
long TimeDifference(unsigned long prev, unsigned long next)
|
||||||
@ -243,7 +245,6 @@ bool RulesRuleMatch(String &event, String &rule)
|
|||||||
bool RulesProcess()
|
bool RulesProcess()
|
||||||
{
|
{
|
||||||
bool serviced = false;
|
bool serviced = false;
|
||||||
char vars[RULES_MAX_VARS][10] = { 0 };
|
|
||||||
char stemp[10];
|
char stemp[10];
|
||||||
|
|
||||||
delay(0); // Prohibit possible loop software watchdog
|
delay(0); // Prohibit possible loop software watchdog
|
||||||
@ -488,4 +489,4 @@ boolean Xdrv10(byte function)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // USE_RULES
|
#endif // USE_RULES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user