Changes in / [cc44f7e:51b46f2] in mainline
- Location:
- uspace
- Files:
-
- 3 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/usbhid.ma
rcc44f7e r51b46f2 1 10 usb&class=hid 2 10 usb&class=HID 1 100 usb&interface&class=HID&subclass=0x01&protocol=0x01 3 2 10 usb&interface&class=HID 4 10 usb&hid -
uspace/lib/usb/src/request.c
rcc44f7e r51b46f2 504 504 * 505 505 * @param[in] pipe Control endpoint pipe (session must be already started). 506 * @param[in] index String index (in native endianess). 506 * @param[in] index String index (in native endianess), 507 * first index has number 1 (index from descriptors can be used directly). 507 508 * @param[in] lang String language (in native endianess). 508 509 * @param[out] string_ptr Where to store allocated string in native encoding. … … 515 516 return EBADMEM; 516 517 } 517 /* Index is actually one byte value. */ 518 if (index > 0xFF) { 518 /* 519 * Index is actually one byte value and zero index is used 520 * to retrieve list of supported languages. 521 */ 522 if ((index < 1) || (index > 0xFF)) { 519 523 return ERANGE; 520 524 }
Note:
See TracChangeset
for help on using the changeset viewer.