diff options
| author | tmk <hasu@tmk-kbd.com> | 2014-12-24 11:11:07 +0900 |
|---|---|---|
| committer | tmk <hasu@tmk-kbd.com> | 2014-12-24 11:11:07 +0900 |
| commit | bb2596042428fad08509709bd9d63dbbb50e59f9 (patch) | |
| tree | 0f7f3531de99d807f683834f0aee3179789ec2d3 | |
| parent | a0d6bb1818b90f341b2a5daaea3652fe19cd4184 (diff) | |
| download | qmk_firmware-bb2596042428fad08509709bd9d63dbbb50e59f9.tar.gz qmk_firmware-bb2596042428fad08509709bd9d63dbbb50e59f9.zip | |
[ps2,terminal_usb] Quick fix for build problem
| -rw-r--r-- | protocol.mk | 2 | ||||
| -rw-r--r-- | protocol/ps2_io_avr.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk index e057d1d60..d9194b2bf 100644 --- a/protocol.mk +++ b/protocol.mk | |||
| @@ -15,11 +15,13 @@ endif | |||
| 15 | 15 | ||
| 16 | ifdef PS2_USE_INT | 16 | ifdef PS2_USE_INT |
| 17 | SRC += protocol/ps2_interrupt.c | 17 | SRC += protocol/ps2_interrupt.c |
| 18 | SRC += protocol/ps2_io_avr.c | ||
| 18 | OPT_DEFS += -DPS2_USE_INT | 19 | OPT_DEFS += -DPS2_USE_INT |
| 19 | endif | 20 | endif |
| 20 | 21 | ||
| 21 | ifdef PS2_USE_USART | 22 | ifdef PS2_USE_USART |
| 22 | SRC += protocol/ps2_usart.c | 23 | SRC += protocol/ps2_usart.c |
| 24 | SRC += protocol/ps2_io_avr.c | ||
| 23 | OPT_DEFS += -DPS2_USE_USART | 25 | OPT_DEFS += -DPS2_USE_USART |
| 24 | endif | 26 | endif |
| 25 | 27 | ||
diff --git a/protocol/ps2_io_avr.c b/protocol/ps2_io_avr.c index be13d6696..ed462345b 100644 --- a/protocol/ps2_io_avr.c +++ b/protocol/ps2_io_avr.c | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | #include <stdbool.h> | 1 | #include <stdbool.h> |
| 2 | #include <avr/io.h> | ||
| 2 | #include <util/delay.h> | 3 | #include <util/delay.h> |
| 3 | 4 | ||
| 4 | /* Check port settings for clock and data line */ | 5 | /* Check port settings for clock and data line */ |
