Fix Split keyboards so they compile on Configurator (#3051)
authorDrashna Jaelre <drashna@live.com>
Fri, 25 May 2018 18:49:43 +0000 (11:49 -0700)
committerskullydazed <skullydazed@users.noreply.github.com>
Fri, 25 May 2018 18:49:43 +0000 (11:49 -0700)
* 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
keyboards/deltasplit75/serial.c
keyboards/minidox/serial.c
keyboards/viterbi/serial.c

index 4936e42..fea57b6 100644 (file)
@@ -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.
index 6faed09..74bcbb6 100644 (file)
@@ -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.
index 6faed09..74bcbb6 100644 (file)
@@ -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.
index 6faed09..74bcbb6 100644 (file)
@@ -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.