Skip to content
Snippets Groups Projects
Commit 5da20f66 authored by Josh Siegle's avatar Josh Siegle
Browse files

OS X changes

parent 459f55b8
No related branches found
No related tags found
No related merge requests found
...@@ -902,19 +902,12 @@ bool WaveAxes::updateSpikeData(const SpikeObject& s) ...@@ -902,19 +902,12 @@ bool WaveAxes::updateSpikeData(const SpikeObject& s)
SpikeObject newSpike = s; SpikeObject newSpike = s;
//if (checkThreshold(newSpike)) spikeIndex++;
//{ spikeIndex %= bufferSize;
spikeIndex++;
spikeIndex %= bufferSize;
spikeBuffer.set(spikeIndex, newSpike);
// return true;
// } else {
// return false;
// }
spikeBuffer.set(spikeIndex, newSpike);
return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment