diff options
author | Joshua T <joshua@sonofone.net> | 2016-10-15 15:14:10 -0500 |
---|---|---|
committer | Joshua T <joshua@sonofone.net> | 2016-10-15 15:14:10 -0500 |
commit | 2e6a1a53d73607030c470b88d3ed7223db5e0004 (patch) | |
tree | fd8ff310f0dba21f9135cdead49482af2276329b /keyboards/lets_split/serial.c | |
parent | 5520b0022fc6cd3dff805eb31ed4bb7e4385ee2a (diff) | |
parent | 0a9ad8f335f5b5b9d184d9e5e9ece6cda149df7e (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/lets_split/serial.c')
-rw-r--r-- | keyboards/lets_split/serial.c | 5 |
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 |