Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connect...
[pub/USBasp.git] / Projects / XPLAINBridge / XPLAINBridge.c
index 6d2556e..da5b1cc 100644 (file)
@@ -119,6 +119,8 @@ void SetupHardware(void)
        SoftUART_Init();\r
        LEDs_Init();\r
        USB_Init();\r
+       \r
+       PORTD |= (1 << 5); // PD5 is connected to the XMEGA /RESET, enable pullup\r
 }\r
 \r
 /** Event handler for the library USB Configuration Changed event. */\r