summaryrefslogtreecommitdiff
path: root/ps2_usb/config_pjrc_usart.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-02-14 01:28:50 +0900
committertmk <nobody@nowhere>2012-02-14 01:37:59 +0900
commit6e095ca9e05e2adfa0a5643b624338b05fe6a581 (patch)
treefd246ac312ab9429d9425814cdb0d0c40251d16a /ps2_usb/config_pjrc_usart.h
parente2d7ca56521d4691c19bad5ec053ac204277c00a (diff)
Fixed wrong pin configuration for ps2_usb USART.
Diffstat (limited to 'ps2_usb/config_pjrc_usart.h')
-rw-r--r--ps2_usb/config_pjrc_usart.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ps2_usb/config_pjrc_usart.h b/ps2_usb/config_pjrc_usart.h
index 23b0c79106..83ddbf7703 100644
--- a/ps2_usb/config_pjrc_usart.h
+++ b/ps2_usb/config_pjrc_usart.h
@@ -47,13 +47,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* PS/2 lines */
-#define PS2_CLOCK_PORT PORTF
-#define PS2_CLOCK_PIN PINF
-#define PS2_CLOCK_DDR DDRF
+#define PS2_CLOCK_PORT PORTD
+#define PS2_CLOCK_PIN PIND
+#define PS2_CLOCK_DDR DDRD
#define PS2_CLOCK_BIT 5
-#define PS2_DATA_PORT PORTF
-#define PS2_DATA_PIN PINF
-#define PS2_DATA_DDR DDRF
+#define PS2_DATA_PORT PORTD
+#define PS2_DATA_PIN PIND
+#define PS2_DATA_DDR DDRD
#define PS2_DATA_BIT 2