diff options
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common.mk | 2 | ||||
| -rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk index 2b0fda5f2..47f6fc571 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk | |||
| @@ -99,10 +99,12 @@ endif | |||
| 99 | 99 | ||
| 100 | ifeq ($(strip $(BLUETOOTH)), AdafruitBLE) | 100 | ifeq ($(strip $(BLUETOOTH)), AdafruitBLE) |
| 101 | TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE | 101 | TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE |
| 102 | TMK_COMMON_DEFS += -DMODULE_ADAFRUIT_BLE | ||
| 102 | endif | 103 | endif |
| 103 | 104 | ||
| 104 | ifeq ($(strip $(BLUETOOTH)), AdafruitEZKey) | 105 | ifeq ($(strip $(BLUETOOTH)), AdafruitEZKey) |
| 105 | TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE | 106 | TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE |
| 107 | TMK_COMMON_DEFS += -DMODULE_ADAFRUIT_EZKEY | ||
| 106 | endif | 108 | endif |
| 107 | 109 | ||
| 108 | ifeq ($(strip $(ONEHAND_ENABLE)), yes) | 110 | ifeq ($(strip $(ONEHAND_ENABLE)), yes) |
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 3d7a8cc43..4cb23ebc8 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c | |||
| @@ -1125,6 +1125,10 @@ int main(void) | |||
| 1125 | // midi_send_noteoff(&midi_device, 0, 64, 127); | 1125 | // midi_send_noteoff(&midi_device, 0, 64, 127); |
| 1126 | #endif | 1126 | #endif |
| 1127 | 1127 | ||
| 1128 | #ifdef MODULE_ADAFRUIT_EZKEY | ||
| 1129 | serial_init(); | ||
| 1130 | #endif | ||
| 1131 | |||
| 1128 | /* wait for USB startup & debug output */ | 1132 | /* wait for USB startup & debug output */ |
| 1129 | 1133 | ||
| 1130 | #ifdef WAIT_FOR_USB | 1134 | #ifdef WAIT_FOR_USB |
| @@ -1173,10 +1177,6 @@ int main(void) | |||
| 1173 | rgblight_task(); | 1177 | rgblight_task(); |
| 1174 | #endif | 1178 | #endif |
| 1175 | 1179 | ||
| 1176 | #ifdef MODULE_ADAFRUIT_EZKEY | ||
| 1177 | serial_init(); | ||
| 1178 | #endif | ||
| 1179 | |||
| 1180 | #ifdef MODULE_ADAFRUIT_BLE | 1180 | #ifdef MODULE_ADAFRUIT_BLE |
| 1181 | adafruit_ble_task(); | 1181 | adafruit_ble_task(); |
| 1182 | #endif | 1182 | #endif |
