summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-07-27 16:26:38 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-07-27 16:26:38 +0200
commit388fe60c67dbc4232a979d3de3b3b161a67871e2 (patch)
tree161b8da5e9447cdf4745f3eb7f187b880c293847
parent6bf8000e6322da88f91f7eb53f510c2ba72743e5 (diff)
fixed PS/2 keyboard converter config
When using the PS/2 interrupt implementation, the DATA pin should be PD0 as the documentation (README.md) states.
-rw-r--r--converter/ps2_usb/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/ps2_usb/config.h b/converter/ps2_usb/config.h
index c9bab1b072..889f0c38eb 100644
--- a/converter/ps2_usb/config.h
+++ b/converter/ps2_usb/config.h
@@ -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)); \