From e5057fec8ead1ec52dbad3b128ed94f9895fc9f4 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 26 Nov 2009 13:59:11 +0000 Subject: 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. --- Projects/XPLAINBridge/XPLAINBridge.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Projects/XPLAINBridge/XPLAINBridge.c') 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. */ -- cgit v1.2.3