Build fixes related to XUA_USB_EN

This commit is contained in:
xross
2018-03-08 18:22:51 +00:00
parent 39acd6cf17
commit 6824657b4f
6 changed files with 8 additions and 5 deletions

View File

@@ -1,7 +1,8 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved
#include "xua.h"
#if XUA_USB_EN
#include <xs1.h>
#include "xua.h"
#include "xc_ptr.h"
#include "interrupt.h"
#include "xua_commands.h"

View File

@@ -1,5 +1,6 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved
#ifndef NO_USB
#include "xua.h"
#if XUA_USB_EN
#include "interrupt.h"
register_interrupt_handler(handle_audio_request, 1, 200)

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved
#include "xua.h"
#if XUA_USB_EN
#include "xud.h"

View File

@@ -1,9 +1,9 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved
#include "xua.h"
#if XUA_USB_EN
#include <xs1.h>
#include <print.h>
#include "xua.h"
#ifdef MIDI
#include "usb_midi.h"
@@ -24,7 +24,6 @@
unsigned char g_hidData[1] = {0};
#endif
void GetADCCounts(unsigned samFreq, int &min, int &mid, int &max);
#define BUFFER_SIZE_OUT (1028 >> 2)
#define BUFFER_SIZE_IN (1028 >> 2)

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved
#include "xua.h"
#if XUA_USB_EN
#include "xud.h"

View File

@@ -6,7 +6,7 @@
#include "xua.h"
#include "xud_device.h"
/* Functions that handle vustomer vendor requests.
/* Functions that handle customer vendor requests.
*
* THESE NEED IMPLEMENTING FOR A SPECIFIC DESIGN
*