ps2_usb: Fix for VUSB configuration

This commit is contained in:
tmk 2016-03-19 08:08:49 +09:00
parent 882059c018
commit 6527e1d98a
4 changed files with 28 additions and 3 deletions

View file

@ -10,6 +10,7 @@ SRC += $(VUSB_DIR)/main.c \
ifdef NO_UART
OPT_DEFS += -DNO_UART
SRC += $(COMMON_DIR)/sendchar_null.c
else
SRC += $(COMMON_DIR)/sendchar_uart.c \

View file

@ -49,7 +49,7 @@ int main(void)
#endif
CLKPR = 0x80, CLKPR = 0;
#ifndef PS2_USE_USART
#ifndef NO_UART
uart_init(UART_BAUD_RATE);
#endif