Skip to content

Commit c491a9c

Browse files
committed
use EP_TYPE_BULK_* for AVR EP type
1 parent d18b303 commit c491a9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MIDIUSB.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ typedef struct
2929
#include "PluggableUSB.h"
3030

3131
#define EPTYPE_DESCRIPTOR_SIZE uint8_t
32-
#define EP_TYPE_BULK_IN_MIDI USB_ENDPOINT_TYPE_BULK | USB_ENDPOINT_IN(0);
33-
#define EP_TYPE_BULK_OUT_MIDI USB_ENDPOINT_TYPE_BULK | USB_ENDPOINT_OUT(0);
32+
#define EP_TYPE_BULK_IN_MIDI EP_TYPE_BULK_IN
33+
#define EP_TYPE_BULK_OUT_MIDI EP_TYPE_BULK_OUT
3434
#define MIDI_BUFFER_SIZE USB_EP_SIZE
3535
#define is_write_enabled(x) (1)
3636

0 commit comments

Comments
 (0)