move code for better shutter idle detection
This commit is contained in:
parent
e589864a0a
commit
b49eae10e3
@ -3766,13 +3766,13 @@ sub _SetCmdFn($) {
|
|||||||
my $h = shift;
|
my $h = shift;
|
||||||
my $shuttersDev = $h->{shuttersDev};
|
my $shuttersDev = $h->{shuttersDev};
|
||||||
my $posValue = $h->{posValue};
|
my $posValue = $h->{posValue};
|
||||||
my $idleDetectionValue = $shutters->getIdleDetectionValue;
|
|
||||||
my $idleDetection = $shutters->getIdleDetection;
|
|
||||||
|
|
||||||
$shutters->setShuttersDev($shuttersDev);
|
$shutters->setShuttersDev($shuttersDev);
|
||||||
$shutters->setLastDrive( $h->{lastDrive} )
|
$shutters->setLastDrive( $h->{lastDrive} )
|
||||||
if ( defined( $h->{lastDrive} ) );
|
if ( defined( $h->{lastDrive} ) );
|
||||||
|
|
||||||
|
my $idleDetectionValue = $shutters->getIdleDetectionValue;
|
||||||
|
my $idleDetection = $shutters->getIdleDetection;
|
||||||
return
|
return
|
||||||
unless (
|
unless (
|
||||||
$shutters->getASCenable eq 'on'
|
$shutters->getASCenable eq 'on'
|
||||||
|
Loading…
Reference in New Issue
Block a user