Skip to content

Commit

Permalink
Removed unused preprocessing directive
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxvandenBoom committed Apr 30, 2024
1 parent dac1230 commit 1c8b153
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Palmtree/src/Sources/Blackrock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -939,19 +939,6 @@ private void acquireData() {
return;
}

#else

int rndSamplesPerPackage = rand.Next(0, 10) + numSamplesPerRetrieval;
UInt32 time = (UInt32)DateTimeOffset.Now.ToUnixTimeMilliseconds();
Int16[][] data = new Int16[numInputChannels][];
for (int iChan = 0; iChan < numInputChannels; iChan++) {
data[iChan] = new Int16[rndSamplesPerPackage];
for (int iSmpl = 0; iSmpl < rndSamplesPerPackage; iSmpl++)
data[iChan][iSmpl] = (Int16)(rand.Next(0, 1000) + 100000);
}
int numSamples = data[0].Length;
#endif

//
//Console.WriteLine("#samples: " + numSamples);
//Console.WriteLine("time: " + time);
Expand Down

0 comments on commit 1c8b153

Please sign in to comment.