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) |
[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 e057d1d601..d9194b2bfc 100644 --- a/protocol.mk +++ b/protocol.mk @@ -15,11 +15,13 @@ endif ifdef PS2_USE_INT SRC += protocol/ps2_interrupt.c + SRC += protocol/ps2_io_avr.c OPT_DEFS += -DPS2_USE_INT endif ifdef PS2_USE_USART SRC += protocol/ps2_usart.c + SRC += protocol/ps2_io_avr.c OPT_DEFS += -DPS2_USE_USART endif diff --git a/protocol/ps2_io_avr.c b/protocol/ps2_io_avr.c index be13d6696a..ed462345ba 100644 --- a/protocol/ps2_io_avr.c +++ b/protocol/ps2_io_avr.c @@ -1,4 +1,5 @@ #include <stdbool.h> +#include <avr/io.h> #include <util/delay.h> /* Check port settings for clock and data line */ |