diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2016-09-25 14:03:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-25 14:03:27 +0200 |
commit | b75cb53c4a67597dd453fb8bb54af1936b422f6b (patch) | |
tree | 590591f00a3782b43253a1321220c7652cd9799b /keyboards/lets_split/split_util.c | |
parent | 7a91cce869f7cda8a42bf071ba77ee6096772d20 (diff) | |
parent | 67252625165ffa0a08e723a52562a853aa4b496b (diff) |
Merge pull request #5 from jackhumbert/master
Merge from jackhumbert
Diffstat (limited to 'keyboards/lets_split/split_util.c')
-rw-r--r-- | keyboards/lets_split/split_util.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/lets_split/split_util.c b/keyboards/lets_split/split_util.c index 65003a71a4..461921798f 100644 --- a/keyboards/lets_split/split_util.c +++ b/keyboards/lets_split/split_util.c @@ -6,11 +6,15 @@ #include <avr/eeprom.h> #include "split_util.h" #include "matrix.h" -#include "i2c.h" -#include "serial.h" #include "keyboard.h" #include "config.h" +#ifdef USE_I2C +# include "i2c.h" +#else +# include "serial.h" +#endif + volatile bool isLeftHand = true; static void setup_handedness(void) { |