Merge pull request #2 from ed-xmos/patch-2

Fix build error when USB not enabled
This commit is contained in:
oscarbailey-xmos
2019-04-29 06:31:55 -04:00
committed by GitHub

View File

@@ -2,6 +2,8 @@
#include <safestring.h>
#include <stddef.h>
#include "xua.h"
#if XUA_USB_EN
#include "xua_ep0_wrapper.h"
#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