Changeset 777e336 in mainline for uspace/drv/usbhid/subdrivers.h


Ignore:
Timestamp:
2011-04-12T15:59:44Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7df6cd
Parents:
1cbb4b7
Message:

Minor changes in subdrivers API.

  • Changed vendor ID and product ID to uint16_t
  • Removed size of the path, ending with {0, 0}
  • Named structure initialization for usb_hid_subdrivers()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/subdrivers.h

    r1cbb4b7 r777e336  
    5454typedef struct usb_hid_subdriver_mapping {
    5555        const usb_hid_subdriver_usage_t *usage_path;
    56         int path_size;
    5756        int compare;
    58         const char *vendor_id;
    59         const char *product_id;
     57        uint16_t vendor_id;
     58        uint16_t product_id;
    6059        usb_hid_subdriver_t subdriver;
    6160} usb_hid_subdriver_mapping_t;
Note: See TracChangeset for help on using the changeset viewer.