Skip to content

Commit 2e7b747

Browse files
committed
Ffixed errror in sendMidi
1 parent fcde07a commit 2e7b747

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ function sendMidi(midiMsg) {
168168
fail();
169169
} else if (midiMsg.length !== 3) {
170170
fail();
171-
} else if (!inRange(midiMsg[0]) ||
172-
!inRange(midiMsg[1]) ||
173-
!inRange(midiMsg)[2]) {
171+
} else if (!inRange(midiMsg[1])) {
174172
fail();
175173
}
176174

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jw-xtouch",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Wrapper for communicating with the Behringer X-Touch via midi",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)