X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/31a34154dbbc20adc523eb08678977d218ae8135..8b053d6ba5dddc5f00fb52873185a2350bef5ce8:/Projects/XPLAINBridge/XPLAINBridge.c?ds=inline diff --git a/Projects/XPLAINBridge/XPLAINBridge.c b/Projects/XPLAINBridge/XPLAINBridge.c index 2a71c5617..4ba9fd991 100644 --- a/Projects/XPLAINBridge/XPLAINBridge.c +++ b/Projects/XPLAINBridge/XPLAINBridge.c @@ -76,7 +76,8 @@ RingBuff_t UARTtoUSB_Buffer; int main(void) { SetupHardware(); - + V2Protocol_Init(); + RingBuffer_InitBuffer(&USBtoUART_Buffer); RingBuffer_InitBuffer(&UARTtoUSB_Buffer); @@ -147,7 +148,6 @@ void SetupHardware(void) SoftUART_Init(); LEDs_Init(); USB_Init(); - V2Protocol_Init(); /* Disable JTAG debugging */ MCUCR |= (1 << JTD);