aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/XPLAINBridge')
-rw-r--r--Projects/XPLAINBridge/Lib/SoftUART.S2
-rw-r--r--Projects/XPLAINBridge/XPLAINBridge.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Projects/XPLAINBridge/Lib/SoftUART.S b/Projects/XPLAINBridge/Lib/SoftUART.S
index f9a89d9f9..673067b84 100644
--- a/Projects/XPLAINBridge/Lib/SoftUART.S
+++ b/Projects/XPLAINBridge/Lib/SoftUART.S
@@ -118,7 +118,7 @@ RX_PIN_INT:
// turn on interrupt on compare match
- sbi TC_INTFLAG_REG,TC_RX_IF_BIT //------------------------
+ sbi TC_INTFLAG_REG,TC_RX_IF_BIT
lds r16,TC_INT_MASK_REG
ori r16,(1<<TC_RX_COMPEN)
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. */