From eb776c1b7918f320b717cedfd8957f55e53c5adf Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 22 Feb 2013 15:48:35 +0900 Subject: [PATCH] Quick Fix: read scan code from PC98 --- converter/pc98_usb/config.h | 9 +++++--- converter/pc98_usb/matrix.c | 6 ++++++ protocol/serial_soft.c | 42 ++++++++++++++++++++++++++++++------- 3 files changed, 46 insertions(+), 11 deletions(-) diff --git a/converter/pc98_usb/config.h b/converter/pc98_usb/config.h index 8bcaa26db..6f9f8fc3c 100644 --- a/converter/pc98_usb/config.h +++ b/converter/pc98_usb/config.h @@ -55,7 +55,7 @@ along with this program. If not, see . */ #define SERIAL_BAUD 19200 #define SERIAL_PARITY_ODD -#define SERIAL_BIT_ORDER_MSB +#define SERIAL_BIT_ORDER_LSB #define SERIAL_RXD_DDR DDRD #define SERIAL_RXD_PORT PORTD @@ -67,7 +67,9 @@ along with this program. If not, see . SERIAL_RXD_DDR &= ~(1<. /* clear interrupt flag */ \ EIFR = (1<