Skip to content

Commit

Permalink
Fix for cyton V2 raw byte id
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ Keller authored Jan 11, 2017
1 parent 65af974 commit 0ca326c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenBCI_GUI/HardwareSync.pde
Original file line number Diff line number Diff line change
Expand Up @@ -889,8 +889,8 @@ class OpenBCI_ADS1299 {
case 4:
//look for end byte
// println("case 4");
if (actbyte == byte(0xC0)) { // if correct end delimiter found:
// println("... 0xC0 found");
if (actbyte == byte(0xC0) || actbyte == byte(0xC1)) { // if correct end delimiter found:
// println("... 0xCx found");
// println("OpenBCI_ADS1299: interpretBinaryStream: found end byte. Setting isNewDataPacketAvailable to TRUE");
isNewDataPacketAvailable = true; //original place for this. but why not put it in the previous case block
flag_copyRawDataToFullData = true; //time to copy the raw data packet into the full data packet (mainly relevant for 16-chan OpenBCI)
Expand Down

0 comments on commit 0ca326c

Please sign in to comment.