From 09b1cdf6103426294807c940f75403a297c15f21 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Mon, 4 Jun 2018 10:36:27 +0100 Subject: [PATCH] Tidy up AUDIO_CLASS_FALLBACK usage --- lib_xua/api/xua_conf_default.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_xua/api/xua_conf_default.h b/lib_xua/api/xua_conf_default.h index 1264cf50..d2908342 100644 --- a/lib_xua/api/xua_conf_default.h +++ b/lib_xua/api/xua_conf_default.h @@ -260,7 +260,7 @@ #endif /* Some checks on full-speed functionality */ -#if defined(FULL_SPEED_AUDIO_2) && (AUDIO_CLASS_FALLBACK != 0) +#if defined(FULL_SPEED_AUDIO_2) && (AUDIO_CLASS_FALLBACK) #error FULL_SPEED_AUDIO_2 and AUDIO_CLASS_FALLBACK enabled! #endif @@ -494,7 +494,7 @@ * * Default: 0x0003 */ -#if (AUDIO_CLASS == 1) || (AUDIO_CLASS_FALLBACK != 0) || defined(__DOXYGEN__) +#if (AUDIO_CLASS == 1) || (AUDIO_CLASS_FALLBACK) || defined(__DOXYGEN__) #ifndef PID_AUDIO_1 #define PID_AUDIO_1 (0x0003) #endif