diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-08-23 21:31:51 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-08-23 21:31:51 +0200 |
commit | b8425e8b58db204e700589e6f37d647515d33034 (patch) | |
tree | 5c58b1b9a4455912db14d293467759f7faea3559 /protocol/lufa/lufa.h | |
parent | fd7a465d0df76777dd3df060de3a797dba5ab726 (diff) | |
download | qmk_firmware-b8425e8b58db204e700589e6f37d647515d33034.tar.gz qmk_firmware-b8425e8b58db204e700589e6f37d647515d33034.tar.xz |
makefile stuff
Diffstat (limited to 'protocol/lufa/lufa.h')
-rw-r--r-- | protocol/lufa/lufa.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocol/lufa/lufa.h b/protocol/lufa/lufa.h index 505cb3279..554d82ae5 100644 --- a/protocol/lufa/lufa.h +++ b/protocol/lufa/lufa.h @@ -48,8 +48,9 @@ #include <LUFA/Version.h> #include <LUFA/Drivers/USB/USB.h> #include "host.h" +#ifdef MIDI_ENABLE #include "midi/midi.h" - +#endif #ifdef __cplusplus extern "C" { #endif @@ -66,7 +67,9 @@ typedef struct { uint16_t usage; } __attribute__ ((packed)) report_extra_t; +#ifdef MIDI_ENABLE MidiDevice midi_device; +#endif #if LUFA_VERSION_INTEGER < 0x120730 /* old API 120219 */ |