From 42c962412b92a0ab4bd26c95f25867c645064bd6 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 21 Jun 2013 16:34:39 +0900 Subject: Add LED support to x68k --- converter/x68k_usb/config_pjrc.h | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'converter/x68k_usb/config_pjrc.h') diff --git a/converter/x68k_usb/config_pjrc.h b/converter/x68k_usb/config_pjrc.h index 2df83a2cb4..dd277cff18 100644 --- a/converter/x68k_usb/config_pjrc.h +++ b/converter/x68k_usb/config_pjrc.h @@ -40,11 +40,6 @@ along with this program. If not, see . /* legacy keymap support */ #define USE_LEGACY_KEYMAP -/* mouse keys */ -#ifdef MOUSEKEY_ENABLE -# define MOUSEKEY_DELAY_TIME 255 -#endif - /* USART configuration * asynchronous, 2400baud, 8-data bit, non parity, 1-stop bit, no flow control @@ -57,7 +52,23 @@ along with this program. If not, see . # define KBD_RX_INIT() do { \ UBRR1L = (uint8_t) KBD_RX_UBBR; \ UBRR1H = (uint8_t) (KBD_RX_UBBR>>8); \ - UCSR1B |= (1<>8); /* baud rate */ \ + UCSR1B = (1<