Code Style
This commit is contained in:
parent
9d90420fa9
commit
5766667cad
@ -857,7 +857,13 @@ sub EventProcessingWindowRec($@) {
|
||||
{
|
||||
$shutters->setLastDrive('window day closed');
|
||||
$shutters->setNoOffset(1);
|
||||
$shutters->setDriveCmd( ($shutters->getLastPos != $shutters->getClosedPos ? $shutters->getLastPos : $shutters->getOpenPos) );
|
||||
$shutters->setDriveCmd(
|
||||
(
|
||||
$shutters->getLastPos != $shutters->getClosedPos
|
||||
? $shutters->getLastPos
|
||||
: $shutters->getOpenPos
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
elsif (not IsDay($shuttersDev)
|
||||
|
Loading…
Reference in New Issue
Block a user