瀏覽代碼

[ps2,terminal_usb] Quick fix for build problem

tags/v1.9
tmk 9 年之前
父節點
當前提交
bb25960424
共有 2 個檔案被更改,包括 3 行新增0 行删除
  1. 2
    0
      protocol.mk
  2. 1
    0
      protocol/ps2_io_avr.c

+ 2
- 0
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


+ 1
- 0
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 */

Loading…
取消
儲存