Skip to content

Commit 690c0d8

Browse files
committed
Remove sampling rate check in sendMarkerData in Networking
1 parent f42f970 commit 690c0d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

OpenBCI_GUI/W_Networking.pde

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,8 @@ class Stream extends Thread {
20702070
newDataFromBuffer[i] = w_networking.markerDataBufferToSend[i];
20712071
}
20722072

2073-
2073+
/*
2074+
// Check sampling rate for every networking protocol for this data type
20742075
if (sampleRateClock == 0) sampleRateClock = millis();
20752076
samplesSent = samplesSent + nPointsPerUpdate;
20762077
if (millis() > sampleRateClock + sampleRateClockInterval) {
@@ -2084,6 +2085,7 @@ class Stream extends Thread {
20842085
sampleRateClock = 0;
20852086
samplesSent = 0;
20862087
}
2088+
*/
20872089

20882090
if (this.protocol.equals("UDP")) {
20892091

0 commit comments

Comments
 (0)