Skip to content

Commit

Permalink
fix: examples for open and close
Browse files Browse the repository at this point in the history
  • Loading branch information
satlead committed Dec 11, 2023
1 parent 28869e2 commit 840b96a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requirements/specifications/hardware/hdmi-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,14 @@ The `HdmiInput.open` and `HDMIInput.close` API requires `manage` access to the `

Below is an example for opening a given HDMIPort.
```javascript
HDMIInput.start('HDMI1').then(() => {
HDMIInput.open('HDMI1').then(() => {
console.log("Successfully opened HDMI1 port");
})
```

Below is an example for stopping last active source.
Below is an example for closing last active source.
```javascript
HDMIInput.stop('HDMI1').then(() => {
HDMIInput.close().then(() => {
console.log("Successfully closed HDMI1 port");
})
```

0 comments on commit 840b96a

Please sign in to comment.