From b521b15744d23a2568f84a2d9f1cdc36a9f314f3 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 2 Jun 2017 14:44:32 +0100 Subject: [PATCH] Fix for warning: `dfuInterface' not used in two parallel statements when NO_USB --- module_usb_audio/main.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 27ca08e9..2d46bddf 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -675,11 +675,13 @@ int main() #endif +#ifndef NO_USB #if (XUD_TILE != 0 ) && (AUDIO_IO_TILE != 0) /* Run flash code on its own - hope it gets combined */ #warning Running DFU flash code on its own on stdcore[0]: DFUHandler(dfuInterface, null); #endif +#endif #ifndef PDM_RECORD #if (NUM_PDM_MICS > 0)