X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/931ca42a6efc88b31cd09cebc7c74b907dd5913d..036a156ff4518212ee1db487ce644deeca91bb71:/Projects/XPLAINBridge/XPLAINBridge.c diff --git a/Projects/XPLAINBridge/XPLAINBridge.c b/Projects/XPLAINBridge/XPLAINBridge.c index 4f3583e68..a0766f1f9 100644 --- a/Projects/XPLAINBridge/XPLAINBridge.c +++ b/Projects/XPLAINBridge/XPLAINBridge.c @@ -151,7 +151,7 @@ void SetupHardware(void) LEDs_Init(); USB_Init(); V2Protocol_Init(); - + /* 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); + + CurrentFirmwareMode = MODE_USART_BRIDGE; // TEMP } /** Event handler for the library USB Configuration Changed event. */