X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/e6881fd166586793a5a90effeefe4188092f383b..bde64666fbdda0a275344c0e5e5175f770be516d:/Bootloaders/DFU/BootloaderDFU.c?ds=sidebyside diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index 1850803d4..6da741e39 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -462,8 +462,10 @@ static void DiscardFillerBytes(uint8_t NumberOfBytes) /* Wait until next data packet received */ while (!(Endpoint_IsOUTReceived())); } - - Endpoint_Discard_Byte(); + else + { + Endpoint_Discard_Byte(); + } } }