Small correction,of previous PR , about New_Feature_GCC_10_Compile_errors_#199 (based on sharebrained indications)

This commit is contained in:
Brumi-2021
2021-10-25 18:11:31 +02:00
parent f4db4e2b53
commit ab8f93805d
2 changed files with 6 additions and 5 deletions

View File

@@ -22,6 +22,9 @@
#ifndef __SPECTRUM_COLLECTOR_H__
#define __SPECTRUM_COLLECTOR_H__
#define ARRAY_ELEMENTS(x) (sizeof(x) / sizeof(x[0]))
/* sizeof() compile-time operator that returns #bytes of (data type). We used it to get #elements_array */
#include "dsp_types.hpp"
#include "complex.hpp"