Fix build error when USB not enabled

#ifdeffing the whole source as is the way in lib_xua
This commit is contained in:
Ed
2019-04-29 11:04:20 +01:00
committed by GitHub
parent 786ce134c6
commit 37ef88a602

View File

@@ -2,6 +2,8 @@
#include <safestring.h> #include <safestring.h>
#include <stddef.h> #include <stddef.h>
#include "xua.h" #include "xua.h"
#if XUA_USB_EN
#include "xua_ep0_wrapper.h" #include "xua_ep0_wrapper.h"
#define DEBUG_UNIT EP0_WRAPPER #define DEBUG_UNIT EP0_WRAPPER
@@ -46,3 +48,4 @@ void XUA_Endpoint0_select(chanend c_ep0_out, chanend c_ep0_in, client ep0_contro
} }
} }
} }
#endif