Skip to content

Commit b222b60

Browse files
committed
Corrected syntax to stop warnings
1 parent c6c0c3c commit b222b60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

analyze_fft4096_iqem_F32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ void AudioAnalyzeFFT4096_IQEM_F32::update(void) {
352352

353353

354354
// Apply the window function, if any, to the time series. Half size window buffer.
355-
if(wNum!=NULL && pWindow)
355+
if(wNum>NO_WINDOW && pWindow) // fixed syntax 14May2022 RSL
356356
{
357357
for (int i=0; i < 2048; i++) {
358358
*(pFFT_buffer + 2*i) *= *(pWindow + i); // real

0 commit comments

Comments
 (0)