NO_USB -> XUA_USB_EN

This commit is contained in:
xross
2018-03-08 18:02:59 +00:00
parent a7645a9b0f
commit 39acd6cf17
14 changed files with 173 additions and 181 deletions

View File

@@ -6,7 +6,7 @@
#include "xccompat.h"
#ifndef NO_USB
#if XUA_USB_EN
#include "dfu_interface.h"
#endif

View File

@@ -56,6 +56,13 @@
#define PDM_TILE AUDIO_IO_TILE
#endif
/**
* @brief Disable USB functionalty just leaving AudioHub
*/
#ifndef XUA_USB_EN
#define XUA_USB_EN 1
#endif
/**
* @brief Number of input channels (device to host). Default: NONE (Must be defined by app)
*/