aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge/XPLAINBridge.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-26 13:59:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-26 13:59:11 +0000
commite5057fec8ead1ec52dbad3b128ed94f9895fc9f4 (patch)
tree35c2db0f088b7843bdc0a88f08a0aeb77600d891 /Projects/XPLAINBridge/XPLAINBridge.c
parent5e468010967b893feb7a623959d788d10e38940b (diff)
downloadlufa-e5057fec8ead1ec52dbad3b128ed94f9895fc9f4.tar.gz
lufa-e5057fec8ead1ec52dbad3b128ed94f9895fc9f4.tar.bz2
lufa-e5057fec8ead1ec52dbad3b128ed94f9895fc9f4.zip
Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets.
Diffstat (limited to 'Projects/XPLAINBridge/XPLAINBridge.c')
-rw-r--r--Projects/XPLAINBridge/XPLAINBridge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Projects/XPLAINBridge/XPLAINBridge.c b/Projects/XPLAINBridge/XPLAINBridge.c
index 6d2556e2b..da5b1ccb3 100644
--- a/Projects/XPLAINBridge/XPLAINBridge.c
+++ b/Projects/XPLAINBridge/XPLAINBridge.c
@@ -119,6 +119,8 @@ void SetupHardware(void)
SoftUART_Init();
LEDs_Init();
USB_Init();
+
+ PORTD |= (1 << 5); // PD5 is connected to the XMEGA /RESET, enable pullup
}
/** Event handler for the library USB Configuration Changed event. */