summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/serial.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-09-21 15:53:11 -0400
committerGitHub <noreply@github.com>2016-09-21 15:53:11 -0400
commitc1414e59c24a91cf6e2128ec0a7c8011acdce7ef (patch)
tree2f50fe134b6a6cfd9b1f7188564ff16bb8b7fdaf /keyboards/lets_split/serial.c
parentd1d54dedac5c95bfe8e3f2c1a2af5c5fc13937bf (diff)
parentb30e6c1c9e1c876ddf95fcc3bc727a04ca6f2abc (diff)
Merge pull request #767 from IBNobody/lets_split_reduce_hex_size
Lets split reduce hex size
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 f439c2f20b..6faed09ce0 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