Removed timing test, oops

pull/6/merge
boblark 4 years ago
parent b5dd5189a2
commit 9e59d4b80b
  1. 5
      analyze_fft2048_iq_F32.cpp

@ -66,7 +66,6 @@ static void apply_window_to_fft_buffer1(void *fft_buffer, const void *window) {
void AudioAnalyzeFFT2048_IQ_F32::update(void) { void AudioAnalyzeFFT2048_IQ_F32::update(void) {
audio_block_f32_t *block_i,*block_q; audio_block_f32_t *block_i,*block_q;
int ii; int ii;
uint32_t tt;
block_i = receiveReadOnly_f32(0); block_i = receiveReadOnly_f32(0);
if (!block_i) return; if (!block_i) return;
@ -76,7 +75,7 @@ uint32_t tt;
return; return;
} }
// Here with two new blocks of data // Here with two new blocks of data
tt=micros();
switch (state) { switch (state) {
case 0: case 0:
blocklist_i[0] = block_i; blocklist_q[0] = block_q; blocklist_i[0] = block_i; blocklist_q[0] = block_q;
@ -232,7 +231,7 @@ uint32_t tt;
blocklist_q[5] = blocklist_q[13]; blocklist_q[5] = blocklist_q[13];
blocklist_q[6] = blocklist_q[14]; blocklist_q[6] = blocklist_q[14];
blocklist_q[7] = blocklist_q[15]; blocklist_q[7] = blocklist_q[15];
state = 8; Serial.println(micros()-tt); state = 8;
break; // From case 15 break; // From case 15
} // End of switch & case 15 } // End of switch & case 15
} // End update() } // End update()

Loading…
Cancel
Save