DescriptionConstruct USB descriptors over explicit values.
Instead of specifying a bunch of arbitrary defaults and then updating
them in the code building the structure. This makes them friendly to use
with C++11's emplace_back() method.
BUG=None
Committed: https://crrev.com/54128082613544e4fa1fb2f0d6a367dea635c173
Cr-Commit-Position: refs/heads/master@{#375081}
Patch Set 1 #Patch Set 2 : Fix build on Chrome OS. #Patch Set 3 : Rebased. #Patch Set 4 : Rebased, emplace_back is now allowed. #Patch Set 5 : Update Android code. #
Messages
Total messages: 16 (7 generated)
|