From 012f4fbba3cd3d83c8b6641e478d7e36ea756a55 Mon Sep 17 00:00:00 2001 From: Sam Chesney Date: Wed, 18 Jun 2014 10:57:29 +0100 Subject: [PATCH] Avoid error on non iAP EAP builds --- module_usb_audio/endpoint0/descriptors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module_usb_audio/endpoint0/descriptors.h b/module_usb_audio/endpoint0/descriptors.h index 6725a9db..ccb92a1d 100644 --- a/module_usb_audio/endpoint0/descriptors.h +++ b/module_usb_audio/endpoint0/descriptors.h @@ -601,8 +601,9 @@ StringDescTable_t g_strTable = #error NUM_USB_CHAN > 18 #endif .iAPInterfaceStr = "iAP Interface", +#ifdef IAP_EA_NATIVE_TRANS .iAP_EANativeTransport_InterfaceStr = IAP_EA_NATIVE_TRANS_PROTOCOL_NAME, - +#endif }; /* Interface numbers enum */