Add BLE and EZKey module defines.

Also restored serial init back to original location. Was getting junk data.
example_keyboards
Travis La Marr 8 years ago
parent b4ac0598fa
commit 43eee52cba

@ -99,10 +99,12 @@ endif
ifeq ($(strip $(BLUETOOTH)), AdafruitBLE)
TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE
TMK_COMMON_DEFS += -DMODULE_ADAFRUIT_BLE
endif
ifeq ($(strip $(BLUETOOTH)), AdafruitEZKey)
TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE
TMK_COMMON_DEFS += -DMODULE_ADAFRUIT_EZKEY
endif
ifeq ($(strip $(ONEHAND_ENABLE)), yes)

@ -1125,6 +1125,10 @@ int main(void)
// midi_send_noteoff(&midi_device, 0, 64, 127);
#endif
#ifdef MODULE_ADAFRUIT_EZKEY
serial_init();
#endif
/* wait for USB startup & debug output */
#ifdef WAIT_FOR_USB
@ -1173,10 +1177,6 @@ int main(void)
rgblight_task();
#endif
#ifdef MODULE_ADAFRUIT_EZKEY
serial_init();
#endif
#ifdef MODULE_ADAFRUIT_BLE
adafruit_ble_task();
#endif

Loading…
Cancel
Save