Fix warning

This commit is contained in:
Isaac Connor
2025-09-05 10:24:47 -04:00
parent edf87d6463
commit 96df4d254d

View File

@@ -336,13 +336,10 @@ sub moveStop {
my $speed = 0;
Debug('Move Stop');
# we have to stop both pans and zooms
my $cmd = "/axis-cgi/com/ptz.cgi?continuouspantiltmove=$speed,$speed";
$self->sendCmd($cmd);
my $cmd = "/axis-cgi/com/ptz.cgi?continuouszoommove=$speed";
$self->sendCmd($cmd);
$self->sendCmd("/axis-cgi/com/ptz.cgi?continuouspantiltmove=$speed,$speed");
$self->sendCmd("/axis-cgi/com/ptz.cgi?continuouszoommove=$speed");
}
sub zoomRelTele {
my $self = shift;
my $params = shift;