Changeset 7c3fb9b in mainline for uspace/lib/usbhid


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

Location:
uspace/lib/usbhid
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/include/usb/hid/hid_report_items.h

    rfac0ac7 r7c3fb9b  
    5353
    5454/** Returns if the item is the short item or long item. Long items are not
    55  * supported. */
     55 * supported.
     56 */
    5657#define USB_HID_ITEM_IS_LONG(data)      (data == 0xFE)
    5758
  • uspace/lib/usbhid/include/usb/hid/hidpath.h

    rfac0ac7 r7c3fb9b  
    9797/**
    9898 * USB HID usage path structure.
    99  * */
     99 */
    100100typedef struct {
    101101        /** Length of usage path */
     
    103103
    104104        /** Report id. Zero is reserved and means that report id is not used.
    105          * */
     105         */
    106106        uint8_t report_id;
    107107
  • uspace/lib/usbhid/include/usb/hid/hidtypes.h

    rfac0ac7 r7c3fb9b  
    8282
    8383        /** Feature report. Describes device configuration information that
    84          * can be sent to the device */
     84         * can be sent to the device
     85         */
    8586        USB_HID_REPORT_TYPE_FEATURE = 3
    8687} usb_hid_report_type_t;
  • uspace/lib/usbhid/src/hiddescriptor.c

    rfac0ac7 r7c3fb9b  
    394394                        switch (ret) {
    395395                        case USB_HID_NEW_REPORT_ITEM:
    396                                 /* store report item to report and create the
     396                                /*
     397                                 * store report item to report and create the
    397398                                 * new one store current collection path
    398399                                 */
     
    600601                    USB_HID_EXTENDED_USAGE(report_item->usages[report_item->usages_count - 1]));
    601602
    602                 /* append the new one which will be set by common usage/usage
    603                  * page */
     603                /*
     604                 * append the new one which will be set by common usage/usage
     605                 * page
     606                 */
    604607                usb_hid_report_path_append_item(usage_path,
    605608                    report_item->usage_page,
Note: See TracChangeset for help on using the changeset viewer.