Skip to content

Commit

Permalink
reolink: reverse zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 18, 2024
1 parent eebcf1a commit a35fd3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/reolink/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/reolink/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/reolink",
"version": "0.0.62",
"version": "0.0.63",
"description": "Reolink Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
4 changes: 2 additions & 2 deletions plugins/reolink/src/reolink-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ export class ReolinkCameraClient {
}

if (command.zoom < 0)
op = 'ZoomInc';
else if (command.zoom > 0)
op = 'ZoomDec';
else if (command.zoom > 0)
op = 'ZoomInc';

if (op) {
await this.ptzOp(op);
Expand Down

0 comments on commit a35fd3b

Please sign in to comment.