mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 10:44:59 +06:00
makefile stuff
This commit is contained in:
parent
fd7a465d0d
commit
b8425e8b58
@ -24,7 +24,9 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \
|
||||
$(LUFA_DIR)/midi/midi_device.c \
|
||||
$(LUFA_DIR)/midi/bytequeue/bytequeue.c \
|
||||
$(LUFA_DIR)/midi/bytequeue/interrupt_setting.c \
|
||||
$(LUFA_DIR)/LUFA-git/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c
|
||||
$(LUFA_SRC_USB) \
|
||||
$(LUFA_SRC_USBCLASS)
|
||||
|
||||
|
||||
SRC += $(LUFA_SRC)
|
||||
|
||||
|
@ -52,6 +52,8 @@
|
||||
#include "descriptor.h"
|
||||
#include "lufa.h"
|
||||
|
||||
// #include <LUFA/Version.h>
|
||||
// #include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
uint8_t keyboard_idle = 0;
|
||||
uint8_t keyboard_protocol = 1;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user