From 3dfd070e589ca2e27ac79e4b851d6d76caa229af Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 2 Aug 2017 15:49:57 +0100 Subject: [PATCH] Disable UAC warnings on NO_USB --- module_usb_audio/warnings.xc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module_usb_audio/warnings.xc b/module_usb_audio/warnings.xc index ee85a3ca..7c08f1c8 100644 --- a/module_usb_audio/warnings.xc +++ b/module_usb_audio/warnings.xc @@ -7,6 +7,8 @@ Warnings relating to configuration defines located in this XC source file rather #include "customdefines.h" +#ifndef NO_USB + #ifndef DEFAULT_FREQ #warning DEFAULT_FREQ not defined. Using MIN_FREQ #endif @@ -72,3 +74,4 @@ Warnings relating to configuration defines located in this XC source file rather #error NUM_USB_CHAN_IN_FS expected to be less than or equal to NUM_USB_CHAN_IN #endif +#endif