Fixed USB_GetHIDReportSize() returning the number of bits in the specified report instead of bytes.
Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.
This commit is contained in:
parent
3ab0b3a027
commit
35a0fe9384
10 changed files with 29 additions and 45 deletions
|
@ -41,7 +41,7 @@
|
|||
* given location, and gives extra connection information.
|
||||
*/
|
||||
char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n"
|
||||
"Server: LUFA RNDIS\r\n"
|
||||
"Server: LUFA " LUFA_VERSION_STRING "\r\n"
|
||||
"Connection: close\r\n"
|
||||
"MIME-version: 1.0\r\n"
|
||||
"Content-Type: ";
|
||||
|
@ -50,7 +50,7 @@ char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n"
|
|||
* given URL is invalid, and gives extra error information.
|
||||
*/
|
||||
char PROGMEM HTTP404Header[] = "HTTP/1.1 404 Not Found\r\n"
|
||||
"Server: LUFA RNDIS\r\n"
|
||||
"Server: LUFA " LUFA_VERSION_STRING "\r\n"
|
||||
"Connection: close\r\n"
|
||||
"MIME-version: 1.0\r\n"
|
||||
"Content-Type: text/plain\r\n\r\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue