Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
lib_mic_array change log
========================

4.2.3
-----

* FIXED: Compiler warnings when MIC_DUAL_ENABLED is not defined

4.2.2
-----

Expand Down
2 changes: 1 addition & 1 deletion lib_mic_array/module_build_info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 4.2.2
VERSION = 4.2.3

DEPENDENT_MODULES = lib_xassert(>=4.0.0) \
lib_logging(>=3.0.0) \
Expand Down
6 changes: 3 additions & 3 deletions lib_mic_array/src/mic_array_dual.xc
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ static inline void ciruclar_buffer_sim_cpy(int * unsafe src_ptr, int * unsafe de
}


// If not MIC_DUAL_ENABLED, cause a link error
#ifdef MIC_DUAL_ENABLED

static int dc_eliminate(int x, int &prev_x, long long &state){
#define S 0
#define N 8
Expand All @@ -299,9 +302,6 @@ static int dc_eliminate(int x, int &prev_x, long long &state){
}


// If not MIC_DUAL_ENABLED, cause a link error
#ifdef MIC_DUAL_ENABLED

#pragma unsafe arrays
void mic_dual_pdm_rx_decimate(buffered in port:32 p_pdm_mic, streaming chanend c_2x_pdm_mic, streaming chanend c_ref_audio[]){

Expand Down