aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/split_util.c
diff options
context:
space:
mode:
authorGravatar IBNobody <ibnobody@gmail.com>2016-09-20 21:38:59 -0500
committerGravatar IBNobody <ibnobody@gmail.com>2016-09-20 21:38:59 -0500
commit6631abc1cb0e570271bcf33464e3af17b6fc0b87 (patch)
tree29e33041e54b98af1425740f1e6625091ffe50e8 /keyboards/lets_split/split_util.c
parentf956802f29aaa3da0d86d56f42986d456bae717b (diff)
downloadqmk_firmware-6631abc1cb0e570271bcf33464e3af17b6fc0b87.tar.gz
Made Serial and I2C not include the Other
This saves 192 bytes
Diffstat (limited to 'keyboards/lets_split/split_util.c')
-rw-r--r--keyboards/lets_split/split_util.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/lets_split/split_util.c b/keyboards/lets_split/split_util.c
index 65003a71a..461921798 100644
--- a/keyboards/lets_split/split_util.c
+++ b/keyboards/lets_split/split_util.c
@@ -6,11 +6,15 @@
#include <avr/eeprom.h>
#include "split_util.h"
#include "matrix.h"
-#include "i2c.h"
-#include "serial.h"
#include "keyboard.h"
#include "config.h"
+#ifdef USE_I2C
+# include "i2c.h"
+#else
+# include "serial.h"
+#endif
+
volatile bool isLeftHand = true;
static void setup_handedness(void) {