Fix configuration of lib_mic_array with < 8 mics

This commit is contained in:
Sam Chesney
2016-11-02 13:50:27 +00:00
parent 75b9ae177b
commit 88a1dc0e80
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ sc_usb_audio Change Log
6.30.0 6.30.0
------ ------
- RESOLVED: Number of PDM microphone channels configured now based on
NUM_PDM_MICS define (previously hard-coded)
- RESOLVED: PDM microphone clock divide now based MCLK defines (previously hard-coded) - RESOLVED: PDM microphone clock divide now based MCLK defines (previously hard-coded)
- CHANGE: Second microphone decimation core only run if NUM_PDM_MICS > 4 - CHANGE: Second microphone decimation core only run if NUM_PDM_MICS > 4

View File

@@ -1,7 +1,9 @@
#ifndef MIC_ARRAY_CONF_H_ #ifndef MIC_ARRAY_CONF_H_
#define MIC_ARRAY_CONF_H_ #define MIC_ARRAY_CONF_H_
#include "customdefines.h"
#define MIC_ARRAY_MAX_FRAME_SIZE_LOG2 0 #define MIC_ARRAY_MAX_FRAME_SIZE_LOG2 0
#define MIC_ARRAY_NUM_MICS 8 #define MIC_ARRAY_NUM_MICS (NUM_PDM_MICS)
#endif /* MIC_ARRAY_CONF_H_ */ #endif /* MIC_ARRAY_CONF_H_ */