Merge pull request #743 from shelaf/patch-2

Fix compiler warnings for HHKB
master
Jack Humbert 2016-09-11 19:24:59 -04:00 committed by GitHub
commit ffa12f9235
3 changed files with 12 additions and 16 deletions

View File

@ -1 +1 @@
HHKB_JP=yes OPT_DEFS += -DHHKB_JP

View File

@ -1 +1 @@
HHKB_JP=yes OPT_DEFS += -DHHKB_JP

View File

@ -68,14 +68,10 @@ CUSTOM_MATRIX ?= yes # Custom matrix file for the HHKB
# SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend
# NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work # NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
# BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
# MIDI_ENABLE ?= YES # MIDI controls # MIDI_ENABLE ?= yes # MIDI controls
# UNICODE_ENABLE ?= YES # Unicode # UNICODE_ENABLE ?= yes # Unicode
# BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID
ifneq (, $(findstring yes, $(HHKB_JP)))
OPT_DEFS += -DHHKB_JP
endif
debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
debug-on: all debug-on: all