From 1a20175b0151cf2e12380b93f379167f09e62e60 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 19 Sep 2014 11:22:11 +0100 Subject: [PATCH] Fixed build issue with c_dig_rx --- module_usb_audio/audio.xc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index 10f2d6b6..b372fb8e 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -997,7 +997,11 @@ chanend ?c_config, chanend ?c) #else null, #endif - divide, curSamFreq, c_dig_rx, c); + divide, curSamFreq, +#if defined (ADAT_RX) || defined (SPDIF_RX) + c_dig_rx, +#endif + c); if(command == SET_SAMPLE_FREQ) {