summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/split_util.c
diff options
context:
space:
mode:
authorJoshua T <joshua@sonofone.net>2016-10-15 15:14:10 -0500
committerJoshua T <joshua@sonofone.net>2016-10-15 15:14:10 -0500
commit2e6a1a53d73607030c470b88d3ed7223db5e0004 (patch)
treefd8ff310f0dba21f9135cdead49482af2276329b /keyboards/lets_split/split_util.c
parent5520b0022fc6cd3dff805eb31ed4bb7e4385ee2a (diff)
parent0a9ad8f335f5b5b9d184d9e5e9ece6cda149df7e (diff)
Merge remote-tracking branch 'upstream/master'
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 65003a71a4..461921798f 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) {