projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slight improvements to the reliability of the software UART in the XPLAINBridge project.
[pub/USBasp.git]
/
Projects
/
XPLAINBridge
/
XPLAINBridge.c
diff --git
a/Projects/XPLAINBridge/XPLAINBridge.c
b/Projects/XPLAINBridge/XPLAINBridge.c
index
4f3583e
..
a0766f1
100644
(file)
--- a/
Projects/XPLAINBridge/XPLAINBridge.c
+++ b/
Projects/XPLAINBridge/XPLAINBridge.c
@@
-151,7
+151,7
@@
void SetupHardware(void)
LEDs_Init();
USB_Init();
V2Protocol_Init();
LEDs_Init();
USB_Init();
V2Protocol_Init();
-
+
/* Disable JTAG debugging */
MCUCR |= (1 << JTD);
MCUCR |= (1 << JTD);
/* Disable JTAG debugging */
MCUCR |= (1 << JTD);
MCUCR |= (1 << JTD);
@@
-166,6
+166,8
@@
void SetupHardware(void)
/* Re-enable JTAG debugging */
MCUCR &= ~(1 << JTD);
MCUCR &= ~(1 << JTD);
/* Re-enable JTAG debugging */
MCUCR &= ~(1 << JTD);
MCUCR &= ~(1 << JTD);
+
+ CurrentFirmwareMode = MODE_USART_BRIDGE; // TEMP
}
/** Event handler for the library USB Configuration Changed event. */
}
/** Event handler for the library USB Configuration Changed event. */