forked from PAWPAW-Mirror/lib_xua
Fixed warning re: UAC1 DFU
This commit is contained in:
@@ -38,9 +38,11 @@
|
|||||||
/* Some warnings.... */
|
/* Some warnings.... */
|
||||||
|
|
||||||
/* Windows does not have a built in DFU driver (windows will prompt), so warn that DFU will not be functional in Audio 1.0 mode */
|
/* Windows does not have a built in DFU driver (windows will prompt), so warn that DFU will not be functional in Audio 1.0 mode */
|
||||||
|
#ifndef FORCE_UAC1_DFU
|
||||||
#if ((AUDIO_CLASS==1) || defined(AUDIO_CLASS_FALLBACK)) && defined(DFU)
|
#if ((AUDIO_CLASS==1) || defined(AUDIO_CLASS_FALLBACK)) && defined(DFU)
|
||||||
#warning DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver
|
#warning DFU will not be enabled in AUDIO 1.0 mode due to Windows requesting driver
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* MIDI not supported in Audio 1.0 mode */
|
/* MIDI not supported in Audio 1.0 mode */
|
||||||
#if ((AUDIO_CLASS==1) || defined(AUDIO_CLASS_FALLBACK)) && defined(MIDI)
|
#if ((AUDIO_CLASS==1) || defined(AUDIO_CLASS_FALLBACK)) && defined(MIDI)
|
||||||
|
|||||||
Reference in New Issue
Block a user