mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-12-04 01:00:16 -05:00
Merge pull request #6281 from singhharsh1708/fix/uniview-focus-iris-autostop
fix: stop Uniview focus and iris on auto stop instead of sending a pan and tilt move
This commit is contained in:
1 file changed
+4
-4
@@ -336,7 +336,7 @@ sub focusConNear {
|
||||
$self->Focus(-$speed);
|
||||
if($duration) {
|
||||
usleep($duration);
|
||||
$self->moveStop($params);
|
||||
$self->Focus(0);
|
||||
}
|
||||
}
|
||||
sub Near {
|
||||
@@ -370,7 +370,7 @@ sub focusConFar {
|
||||
$self->Focus($speed);
|
||||
if($duration) {
|
||||
usleep($duration);
|
||||
$self->moveStop($params);
|
||||
$self->Focus(0);
|
||||
}
|
||||
}
|
||||
sub Far {
|
||||
@@ -415,7 +415,7 @@ sub irisConClose {
|
||||
$self->Iris(-$speed);
|
||||
if($duration) {
|
||||
usleep($duration);
|
||||
$self->moveStop($params);
|
||||
$self->Iris(0);
|
||||
}
|
||||
}
|
||||
sub Close {
|
||||
@@ -451,7 +451,7 @@ sub irisConOpen {
|
||||
$self->Iris($speed);
|
||||
if($duration) {
|
||||
usleep($duration);
|
||||
$self->moveStop($params);
|
||||
$self->Iris(0);
|
||||
}
|
||||
}
|
||||
sub Open {
|
||||
|
||||
Reference in new issue
Block a user