PDM related build fixes

This commit is contained in:
xross
2018-04-04 15:16:29 +01:00
parent 14af847ddb
commit 72c32e2828
3 changed files with 13 additions and 8 deletions

View File

@@ -6,16 +6,17 @@
#include "xua_conf_full.h"
#if __XC__ || __STDC__
#include "xua_audiohub.h"
#include "xua_audiohub.h"
#include "xua_endpoint0.h"
#include "xua_endpoint0.h"
#include "xua_buffer.h"
#include "xua_buffer.h"
#endif
#if __XC__
#include "xua_pdm_mic.h"
#endif
#if XUA_NUM_PDM_MICS > 0
#include "xua_pdm_mic.h"
#endif
#endif
#endif

View File

@@ -1,5 +1,8 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved
#ifndef XUA_PDM_MIC_H
#define XUA_PDM_MIC_H
/* Included from lib_mic_array */
#include "mic_array.h"
@@ -44,4 +47,5 @@ void XUA_PdmBuffer(streaming chanend c_ds_output[2], chanend c_audio);
void xua_pdm_mic(streaming chanend c_ds_output[2]);
#endif
#endif