Skip to content

Commit c6b44ae

Browse files
committed
Fix BandPower data output over LSL
1 parent 8c44c65 commit c6b44ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OpenBCI_GUI/W_Networking.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,10 +1570,10 @@ class Stream extends Thread {
15701570
float[] avgPowerLSL = new float[numExgChannels * numBandPower];
15711571
for (int i = 0; i < numExgChannels; i++) {
15721572
for (int j = 0; j < numBandPower; j++) {
1573-
dataToSend[j + numBandPower * i] = dataProcessing.avgPowerInBins[i][j];
1573+
avgPowerLSL[j + numBandPower * i] = dataProcessing.avgPowerInBins[i][j];
15741574
}
15751575
}
1576-
outlet_data.push_chunk(dataToSend);
1576+
outlet_data.push_chunk(avgPowerLSL);
15771577
} else if (this.protocol.equals("Serial")) {
15781578
for (int i = 0; i < numExgChannels; i++) {
15791579
serialMessage = "[" + (i + 1) + ","; // clear message

0 commit comments

Comments
 (0)