diff options
author | coderkun <olli@coderkun.de> | 2016-10-02 10:04:29 +0200 |
---|---|---|
committer | coderkun <olli@coderkun.de> | 2016-10-02 10:04:29 +0200 |
commit | 8655677584483e46d9b45873aa50ec6e860486dd (patch) | |
tree | 3f1037d47607fd40be82fe9169795978f8f3551f /keyboards/lets_split/serial.c | |
parent | a10e100bd5e8bad73e1b04f54639a4cec36e4b9e (diff) | |
parent | 35e6870e5c8943c044187256e01c96ef400ca067 (diff) |
Merge branch 'master' into coderkun_neo2
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 |