Move the default definition of MIC_ARRAY_MAX_FRAME_SIZE_LOG2 to mic_array_conf.h so that an assembler file can pick it up using a #include.

This commit is contained in:
Michael Banther
2019-11-21 17:32:39 +00:00
parent 241afbe7e6
commit eeca5fdd60

View File

@@ -8,6 +8,13 @@
#define MIC_ARRAY_FRAME_SIZE (XUA_MIC_FRAME_SIZE)
#endif
// The default definition of MIC_ARRAY_MAX_FRAME_SIZE_LOG2 must appear in this file
// because an assembler file #includes it.
// The assembler does not understand C language syntax, only C pre-processor syntax.
#ifndef MIC_ARRAY_MAX_FRAME_SIZE_LOG2
#define MIC_ARRAY_MAX_FRAME_SIZE_LOG2 (0)
#endif
#ifndef MIC_ARRAY_NUM_MICS
#define MIC_ARRAY_NUM_MICS (XUA_NUM_PDM_MICS)
#endif