mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 21:56:35 +00:00
Update xdrv_27_shutter.ino
...ongoing
This commit is contained in:
parent
ce9ea40166
commit
f95462f916
@ -518,11 +518,11 @@ bool ShutterState(uint32_t device)
|
|||||||
void ShutterAllowPreStartProcedure(uint8_t i)
|
void ShutterAllowPreStartProcedure(uint8_t i)
|
||||||
{
|
{
|
||||||
uint32_t uptime_Local=0;
|
uint32_t uptime_Local=0;
|
||||||
AddLog_P2(LOG_LEVEL_DEBUG_MORE, PSTR("SHT: Delay Start. var%d 99==%s, max10s?"),i+1, rules_vars[i+1]);
|
AddLog_P2(LOG_LEVEL_DEBUG_MORE, PSTR("SHT: Delay Start. var%d <99>=<%s>, max10s?"),i+i, rules_vars[i]);
|
||||||
rules_flag.shutter_moving = 1;
|
rules_flag.shutter_moving = 1;
|
||||||
XdrvRulesProcess();
|
XdrvRulesProcess();
|
||||||
uptime_Local = uptime;
|
uptime_Local = uptime;
|
||||||
while (uptime_Local+10 > uptime && (String)rules_vars[i+1] == "99") {
|
while (uptime_Local+10 > uptime && (String)rules_vars[i] == "99") {
|
||||||
loop();
|
loop();
|
||||||
}
|
}
|
||||||
AddLog_P2(LOG_LEVEL_DEBUG_MORE, PSTR("SHT: Delay Start. Done"));
|
AddLog_P2(LOG_LEVEL_DEBUG_MORE, PSTR("SHT: Delay Start. Done"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user