From 256ee957cffd6536c2c06ac6af120799ae08df43 Mon Sep 17 00:00:00 2001 From: Ed Clarke Date: Wed, 10 Jan 2018 09:23:20 +0000 Subject: [PATCH] Remove warning when DFU not enabled --- lib_xua/src/core/audiohub/xua_audiohub.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_xua/src/core/audiohub/xua_audiohub.xc b/lib_xua/src/core/audiohub/xua_audiohub.xc index 202fb783..e3d1ebe5 100755 --- a/lib_xua/src/core/audiohub/xua_audiohub.xc +++ b/lib_xua/src/core/audiohub/xua_audiohub.xc @@ -1420,6 +1420,7 @@ void testct_byref(chanend c, int &returnVal) returnVal = 1; } +#if (XUA_DFU_EN == 1) [[combinable]] static void dummy_deliver(chanend ?c_out, unsigned &command) { @@ -1465,6 +1466,7 @@ static void dummy_deliver(chanend ?c_out, unsigned &command) } } } +#endif void XUA_AudioHub(chanend ?c_mix_out #if (XUA_SPDIF_TX_EN) && (SPDIF_TX_TILE != AUDIO_IO_TILE)