summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/hadron/keymaps/default/rules.mk2
-rw-r--r--keyboards/hadron/rules.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/hadron/keymaps/default/rules.mk b/keyboards/hadron/keymaps/default/rules.mk
index 4d08544f3a..545ffa75c1 100644
--- a/keyboards/hadron/keymaps/default/rules.mk
+++ b/keyboards/hadron/keymaps/default/rules.mk
@@ -5,7 +5,7 @@
# the appropriate keymap folder that will get included automatically
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = no # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
diff --git a/keyboards/hadron/rules.mk b/keyboards/hadron/rules.mk
index 1f835e0660..2a8b780450 100644
--- a/keyboards/hadron/rules.mk
+++ b/keyboards/hadron/rules.mk
@@ -71,3 +71,5 @@ SRC = i2c.c \
ssd1306.c
DEFAULT_FOLDER = hadron/ver2
+
+EXTRAFLAGS += -flto