Skip to content

Commit

Permalink
[ps2,terminal_usb] Quick fix for build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
tmk committed Dec 24, 2014
1 parent a0d6bb1 commit bb25960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protocol.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions protocol/ps2_io_avr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>

/* Check port settings for clock and data line */
Expand Down

0 comments on commit bb25960

Please sign in to comment.