[ps2,terminal_usb] Quick fix for build problem

master
tmk 2014-12-24 11:11:07 +09:00
parent a0d6bb1818
commit bb25960424
2 changed files with 3 additions and 0 deletions

View 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

View File

@ -1,4 +1,5 @@
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
/* Check port settings for clock and data line */