diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-08 10:06:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-08 10:06:49 +0000 |
commit | bde64666fbdda0a275344c0e5e5175f770be516d (patch) | |
tree | f12e90fcf41f5ca163a9b33a40fc7e5747e2a428 /Bootloaders/DFU | |
parent | e6881fd166586793a5a90effeefe4188092f383b (diff) | |
download | lufa-bde64666fbdda0a275344c0e5e5175f770be516d.tar.gz lufa-bde64666fbdda0a275344c0e5e5175f770be516d.tar.bz2 lufa-bde64666fbdda0a275344c0e5e5175f770be516d.zip |
Finished CDC device class driver documentation.
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 6 |
1 files changed, 4 insertions, 2 deletions
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();
+ }
}
}
|