summaryrefslogtreecommitdiff
path: root/converter/ps2_usb/config.h
diff options
context:
space:
mode:
authorJun Wako <wakojun@gmail.com>2015-05-18 13:58:56 +0900
committerJun Wako <wakojun@gmail.com>2015-05-18 14:01:53 +0900
commit6014d1014e96a7b484699d4dd8c04292c0233b0e (patch)
treedd88dfa580f146ff6810718d7ad1cf24aaa3b2cb /converter/ps2_usb/config.h
parent2d9e0d5cab534cf70471f6dd37f8e624354e67b3 (diff)
ps2_usb: Fix pin configuration
Diffstat (limited to 'converter/ps2_usb/config.h')
-rw-r--r--converter/ps2_usb/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/ps2_usb/config.h b/converter/ps2_usb/config.h
index c9bab1b072..c0a4fab13b 100644
--- a/converter/ps2_usb/config.h
+++ b/converter/ps2_usb/config.h
@@ -50,11 +50,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PS2_CLOCK_PORT PORTD
#define PS2_CLOCK_PIN PIND
#define PS2_CLOCK_DDR DDRD
-#define PS2_CLOCK_BIT 5
+#define PS2_CLOCK_BIT 1
#define PS2_DATA_PORT PORTD
#define PS2_DATA_PIN PIND
#define PS2_DATA_DDR DDRD
-#define PS2_DATA_BIT 2
+#define PS2_DATA_BIT 0
#endif
/*
@@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PS2_DATA_PORT PORTD
#define PS2_DATA_PIN PIND
#define PS2_DATA_DDR DDRD
-#define PS2_DATA_BIT 2
+#define PS2_DATA_BIT 0
#define PS2_INT_INIT() do { \
EICRA |= ((1<<ISC11) | \
(0<<ISC10)); \