Skip to content

Commit 0147413

Browse files
committed
BUG: forgot parenthesis on getBoardType() func
1 parent 0ec0461 commit 0147413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openBCICyton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ Cyton.prototype._finalizeNewSample = function (sampleObject) {
20732073
} else {
20742074
// With the daisy board attached, lower channels (1-8) come in packets with odd sample numbers and upper
20752075
// channels (9-16) come in packets with even sample numbers
2076-
if (this.getBoardType === k.OBCIBoardDaisy) {
2076+
if (this.getBoardType() === k.OBCIBoardDaisy) {
20772077
// Send the sample for downstream sample compaction
20782078
this._finalizeNewSampleForDaisy(sampleObject);
20792079
} else {

0 commit comments

Comments
 (0)