aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/serial.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/serial.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/serial.c')
-rw-r--r--keyboards/lets_split/serial.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/lets_split/serial.c b/keyboards/lets_split/serial.c
index f439c2f20..6faed09ce 100644
--- a/keyboards/lets_split/serial.c
+++ b/keyboards/lets_split/serial.c
@@ -10,9 +10,10 @@
#include <avr/interrupt.h>
#include <util/delay.h>
#include <stdbool.h>
-
#include "serial.h"
+#ifdef USE_SERIAL
+
// Serial pulse period in microseconds. Its probably a bad idea to lower this
// value.
#define SERIAL_DELAY 24
@@ -223,3 +224,5 @@ int serial_update_buffers(void) {
sei();
return 0;
}
+
+#endif