diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-05-02 13:05:25 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-05-02 13:05:25 +0000 |
| commit | fce5ba923846d21336aa4de26bff94b2262dd92f (patch) | |
| tree | e918ffd16c91005992cf83583812bef4571dd338 /Bootloaders/CDC/BootloaderCDC.c | |
| parent | a4f30490c66e7426611abeb4f3b8ed164302c5ed (diff) | |
Fixed Endpoint_Write_Control_* functions writing more data than expected by the host, causing it to panic (thanks to Johannes Raschke).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@529 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders/CDC/BootloaderCDC.c')
| -rw-r--r-- | Bootloaders/CDC/BootloaderCDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index ef8707d3..f36c4fc3 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -350,7 +350,7 @@ static void WriteNextResponseByte(const uint8_t Response) /* Select the IN endpoint so that the next data byte can be written */
Endpoint_SelectEndpoint(CDC_TX_EPNUM);
- /* If OUT endpoint empty, clear it and wait for the next packet from the host */
+ /* If IN endpoint full, clear it and wait util ready for the next packet to the host */
if (!(Endpoint_IsReadWriteAllowed()))
{
Endpoint_ClearIN();
|
