Fix for warning: `dfuInterface' not used in two parallel statements when NO_USB

This commit is contained in:
Ross Owen
2017-06-02 14:44:32 +01:00
parent b568b0181b
commit b521b15744

View File

@@ -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)