diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-08-24 19:31:12 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-08-24 19:31:12 -0400 |
commit | cda23c754e4d16438e2b42d86b4ce9a1eadc03d7 (patch) | |
tree | e9a0a1a0c848f215abd3f00bdbd43951b07ea98a /protocol/lufa/lufa.h | |
parent | b8425e8b58db204e700589e6f37d647515d33034 (diff) |
midi working
Diffstat (limited to 'protocol/lufa/lufa.h')
-rw-r--r-- | protocol/lufa/lufa.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/protocol/lufa/lufa.h b/protocol/lufa/lufa.h index 554d82ae5f..8bcd8503a6 100644 --- a/protocol/lufa/lufa.h +++ b/protocol/lufa/lufa.h @@ -68,17 +68,18 @@ typedef struct { } __attribute__ ((packed)) report_extra_t; #ifdef MIDI_ENABLE +void MIDI_Task(void); MidiDevice midi_device; #endif -#if LUFA_VERSION_INTEGER < 0x120730 - /* old API 120219 */ - #define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint(epnum, eptype, epdir, epsize, epbank) -#else +// #if LUFA_VERSION_INTEGER < 0x120730 +// /* old API 120219 */ +// #define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint(epnum, eptype, epdir, epsize, epbank) +// #else /* new API >= 120730 */ #define ENDPOINT_BANK_SINGLE 1 #define ENDPOINT_BANK_DOUBLE 2 #define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint((epdir) | (epnum) , eptype, epsize, epbank) -#endif +// #endif #endif |