aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2020-09-20 22:50:52 +0300
committerGitHub <noreply@github.com>2020-09-20 20:50:52 +0100
commitfee953c4f872894e53723c27686568a69b0a71ee (patch)
treea8a2725f86dc0c083309bcf1ebaddb5702dbea63 /keyboards
parentfb4a6ad30ea7a648acd59793ed4a30c3a8d8dc32 (diff)
downloadfirmware-fee953c4f872894e53723c27686568a69b0a71ee.tar.gz
firmware-fee953c4f872894e53723c27686568a69b0a71ee.tar.bz2
firmware-fee953c4f872894e53723c27686568a69b0a71ee.zip
Disable the command feature for onekeys (#10366)
There is no way to invoke the command feature while having just a single physical key, and disabling that feature fixes build for keymaps like `handwired/onekey/promicro:rgb` without resorting to LTO (the command feature consumes more than 4900 bytes with avr-gcc 8.4.0).
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/handwired/onekey/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/onekey/rules.mk b/keyboards/handwired/onekey/rules.mk
index 968e338e2..ac343e166 100644
--- a/keyboards/handwired/onekey/rules.mk
+++ b/keyboards/handwired/onekey/rules.mk
@@ -5,7 +5,7 @@ BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = yes # Console for debug(+400)
-COMMAND_ENABLE = yes # Commands for debug and configuration
+COMMAND_ENABLE = no # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work