From 24b8d84b6c3e2a49ce98a48738e469079d051bc8 Mon Sep 17 00:00:00 2001
From: Drashna Jaelre <drashna@live.com>
Date: Fri, 25 May 2018 11:49:43 -0700
Subject: [PATCH] Fix Split keyboards so they compile on Configurator (#3051)

* Fix serial split for BFO9000

* Fix serial split for DeltaSplit75

* Fix serial split for Helix

* Fix serial split for MiniDox

* Fix serial split for Viterbi

* Revert "Fix serial split for Helix" since it's super complex

This reverts commit 72538df105ba6d5fe6915773a20c509f2a47785d.

We'll let the helix owner fix this issue, or dive into the code later
---
 keyboards/bfo9000/serial.c      | 2 +-
 keyboards/deltasplit75/serial.c | 2 +-
 keyboards/minidox/serial.c      | 2 +-
 keyboards/viterbi/serial.c      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/keyboards/bfo9000/serial.c b/keyboards/bfo9000/serial.c
index 4936e4249f..fea57b6510 100644
--- a/keyboards/bfo9000/serial.c
+++ b/keyboards/bfo9000/serial.c
@@ -12,7 +12,7 @@
 #include <stdbool.h>
 #include "serial.h"
 
-#ifdef USE_SERIAL
+#ifndef USE_I2C
 
 // Serial pulse period in microseconds. Its probably a bad idea to lower this
 // value.
diff --git a/keyboards/deltasplit75/serial.c b/keyboards/deltasplit75/serial.c
index 6faed09ce0..74bcbb6bf6 100644
--- a/keyboards/deltasplit75/serial.c
+++ b/keyboards/deltasplit75/serial.c
@@ -12,7 +12,7 @@
 #include <stdbool.h>
 #include "serial.h"
 
-#ifdef USE_SERIAL
+#ifndef USE_I2C
 
 // Serial pulse period in microseconds. Its probably a bad idea to lower this
 // value.
diff --git a/keyboards/minidox/serial.c b/keyboards/minidox/serial.c
index 6faed09ce0..74bcbb6bf6 100644
--- a/keyboards/minidox/serial.c
+++ b/keyboards/minidox/serial.c
@@ -12,7 +12,7 @@
 #include <stdbool.h>
 #include "serial.h"
 
-#ifdef USE_SERIAL
+#ifndef USE_I2C
 
 // Serial pulse period in microseconds. Its probably a bad idea to lower this
 // value.
diff --git a/keyboards/viterbi/serial.c b/keyboards/viterbi/serial.c
index 6faed09ce0..74bcbb6bf6 100644
--- a/keyboards/viterbi/serial.c
+++ b/keyboards/viterbi/serial.c
@@ -12,7 +12,7 @@
 #include <stdbool.h>
 #include "serial.h"
 
-#ifdef USE_SERIAL
+#ifndef USE_I2C
 
 // Serial pulse period in microseconds. Its probably a bad idea to lower this
 // value.