Skip to content

Commit c11d3a6

Browse files
author
AJ Keller
authored
Merge pull request #153 from nateGeorge/master
BUG: forgot parenthesis on getBoardType() func
2 parents 0ec0461 + 0147413 commit c11d3a6

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)