forked from PAWPAW-Mirror/lib_xua
Actually removed old INTERFACES defines from devicedefines.h this time...
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include "customdefines.h"
|
#include "customdefines.h"
|
||||||
|
|
||||||
|
/* Default tile arrangement */
|
||||||
#ifndef AUDIO_IO_TILE
|
#ifndef AUDIO_IO_TILE
|
||||||
#define AUDIO_IO_TILE 0
|
#define AUDIO_IO_TILE 0
|
||||||
#endif
|
#endif
|
||||||
@@ -575,44 +576,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Audio input USB interface count */
|
|
||||||
#if defined(INPUT) && (INTPUT != 0)
|
|
||||||
#define INPUT_INTERFACES (1)
|
|
||||||
#else
|
|
||||||
#define INPUT_INTERFACES (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Audio output USB interface count */
|
|
||||||
#if defined(OUTPUT) && (OUTPUT != 0)
|
|
||||||
#define OUTPUT_INTERFACES (1)
|
|
||||||
#else
|
|
||||||
#define OUTPUT_INTERFACES (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Total audio USB interface count (+1 for mandatory control interface) */
|
|
||||||
#define AUDIO_INTERFACE_COUNT (1 + OUTPUT_INTERFACES + INPUT_INTERFACES)
|
|
||||||
|
|
||||||
/* MIDI USB interface count */
|
|
||||||
#if defined(MIDI)
|
|
||||||
#define MIDI_INTERFACES (2)
|
|
||||||
#else
|
|
||||||
#define MIDI_INTERFACES (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* iAP USB interface count */
|
|
||||||
#if defined(IAP)
|
|
||||||
#define IAP_INTERFACES (1)
|
|
||||||
#else
|
|
||||||
#define IAP_INTERFACES (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* HID USB interface count */
|
|
||||||
#if defined(HID_CONTROLS)
|
|
||||||
#define HID_INTERFACES (1)
|
|
||||||
#else
|
|
||||||
#define HID_INTERFACES (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Endpoint addresses enums */
|
/* Endpoint addresses enums */
|
||||||
enum USBEndpointNumber_In
|
enum USBEndpointNumber_In
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user