From f1513c3ad21822a376eb50fb8331e63617a0b2db Mon Sep 17 00:00:00 2001
From: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>
Date: Fri, 27 Jul 2018 23:34:41 +0200
Subject: [PATCH] Keyboard: Let's Split fixes (#3511)
* Fixed pin for RGB
* Implemented drashnas fixes for filesize
---
keyboards/vitamins_included/config.h | 11 +++++++++++
keyboards/vitamins_included/rev1/config.h | 2 +-
keyboards/vitamins_included/rules.mk | 2 ++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/keyboards/vitamins_included/config.h b/keyboards/vitamins_included/config.h
index c910d8f24f..27924ae46c 100644
--- a/keyboards/vitamins_included/config.h
+++ b/keyboards/vitamins_included/config.h
@@ -21,4 +21,15 @@ along with this program. If not, see .
#include "config_common.h"
+#if !defined(NO_DEBUG) && !defined(CONSOLE_ENABLE)
+#define NO_DEBUG
+#endif // !NO_DEBUG
+#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
+#define NO_PRINT
+#endif // !NO_PRINT
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+
+#define DISABLE_LEADER
+
#endif
diff --git a/keyboards/vitamins_included/rev1/config.h b/keyboards/vitamins_included/rev1/config.h
index 50168237bc..26023bfea9 100644
--- a/keyboards/vitamins_included/rev1/config.h
+++ b/keyboards/vitamins_included/rev1/config.h
@@ -83,7 +83,7 @@ along with this program. If not, see .
/* disable action features */
//#define NO_ACTION_LAYER
-#define NO_ACTION_TAPPING
+//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
diff --git a/keyboards/vitamins_included/rules.mk b/keyboards/vitamins_included/rules.mk
index 786f247bde..2291b21161 100644
--- a/keyboards/vitamins_included/rules.mk
+++ b/keyboards/vitamins_included/rules.mk
@@ -73,3 +73,5 @@ CUSTOM_MATRIX = yes
LAYOUTS = ortho_4x12
DEFAULT_FOLDER = vitamins_included/rev1
+
+EXTRAFLAGS += -flto
\ No newline at end of file