ソースを参照

[ps2,terminal_usb] Quick fix for build problem

core
tmk 9年前
コミット
e8d098e7cf
2個のファイルの変更3行の追加0行の削除
  1. 2
    0
      protocol.mk
  2. 1
    0
      protocol/ps2_io_avr.c

+ 2
- 0
protocol.mk ファイルの表示



ifdef PS2_USE_INT ifdef PS2_USE_INT
SRC += protocol/ps2_interrupt.c SRC += protocol/ps2_interrupt.c
SRC += protocol/ps2_io_avr.c
OPT_DEFS += -DPS2_USE_INT OPT_DEFS += -DPS2_USE_INT
endif endif


ifdef PS2_USE_USART ifdef PS2_USE_USART
SRC += protocol/ps2_usart.c SRC += protocol/ps2_usart.c
SRC += protocol/ps2_io_avr.c
OPT_DEFS += -DPS2_USE_USART OPT_DEFS += -DPS2_USE_USART
endif endif



+ 1
- 0
protocol/ps2_io_avr.c ファイルの表示

#include <stdbool.h> #include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h> #include <util/delay.h>


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