We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c44c65 commit c6b44aeCopy full SHA for c6b44ae
1 file changed
OpenBCI_GUI/W_Networking.pde
@@ -1570,10 +1570,10 @@ class Stream extends Thread {
1570
float[] avgPowerLSL = new float[numExgChannels * numBandPower];
1571
for (int i = 0; i < numExgChannels; i++) {
1572
for (int j = 0; j < numBandPower; j++) {
1573
- dataToSend[j + numBandPower * i] = dataProcessing.avgPowerInBins[i][j];
+ avgPowerLSL[j + numBandPower * i] = dataProcessing.avgPowerInBins[i][j];
1574
}
1575
1576
- outlet_data.push_chunk(dataToSend);
+ outlet_data.push_chunk(avgPowerLSL);
1577
} else if (this.protocol.equals("Serial")) {
1578
1579
serialMessage = "[" + (i + 1) + ","; // clear message
0 commit comments