From a61b8dc9611301888167bb14f3bb5681a7cd3157 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 14 Nov 2013 15:44:23 +0000 Subject: [PATCH] Fixed build issue when DFU not enabled. --- module_usb_audio/endpoint0/endpoint0.xc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module_usb_audio/endpoint0/endpoint0.xc b/module_usb_audio/endpoint0/endpoint0.xc index 0dd3d312..8c88ad65 100755 --- a/module_usb_audio/endpoint0/endpoint0.xc +++ b/module_usb_audio/endpoint0/endpoint0.xc @@ -558,6 +558,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl, #endif #ifdef VENDOR_AUDIO_REQS +#error /* If retVal is 1 at this point, then request to audio interface not handled - handle vendor audio reqs */ if(retVal == 1) { @@ -567,9 +568,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl, c_audioControl, c_mix_ctl, c_clk_ctl); } #endif -#ifdef DFU } -#endif } break;