projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix low level host mode demos not correctly fetching the next endpoint when an invali...
[pub/lufa.git]
/
Demos
/
Host
/
LowLevel
/
VirtualSerialHost
/
ConfigDescriptor.c
diff --git
a/Demos/Host/LowLevel/VirtualSerialHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/VirtualSerialHost/ConfigDescriptor.c
index
c35a606
..
a26fa5c
100644
(file)
--- a/
Demos/Host/LowLevel/VirtualSerialHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/VirtualSerialHost/ConfigDescriptor.c
@@
-110,6
+110,9
@@
uint8_t ProcessConfigurationDescriptor(void)
/* Clear any found endpoints */
NotificationEndpoint = NULL;
}
+
+ /* Skip the remainder of the loop as we have not found an endpoint yet */
+ continue;
}
/* Retrieve the endpoint address from the endpoint descriptor */