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