]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
[ps2,terminal_usb] Quick fix for build problem
authortmk <hasu@tmk-kbd.com>
Wed, 24 Dec 2014 02:11:07 +0000 (11:11 +0900)
committertmk <hasu@tmk-kbd.com>
Wed, 24 Dec 2014 02:11:07 +0000 (11:11 +0900)
protocol.mk
protocol/ps2_io_avr.c

index e057d1d601e0f3d6af0fb5020491ca97686a3b39..d9194b2bfc0d731f5b0f417772a9bbee1fe84679 100644 (file)
@@ -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
 
index be13d6696acfaea9436cba398c6ae44dccd98051..ed462345baf1e11648290af78218c718fbbf16c9 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdbool.h>
+#include <avr/io.h>
 #include <util/delay.h>
 
 /* Check port settings for clock and data line */