Changeset 3de529c in mainline


Ignore:
Timestamp:
2011-03-08T18:48:29Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8bec4d1
Parents:
767da0a
Message:

delimiter descriptor field is supported now

Location:
uspace/lib/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/classes/hidparser.h

    r767da0a r3de529c  
    7777        int32_t count;
    7878        size_t offset;
     79        int32_t delimiter;
    7980
    8081        int32_t unit_exponent;
  • uspace/lib/usb/src/hidparser.c

    r767da0a r3de529c  
    3333 * @brief HID parser implementation.
    3434 */
    35 
    3635#include <usb/classes/hidparser.h>
    3736#include <errno.h>
     
    4039#include <mem.h>
    4140#include <usb/debug.h>
    42 
    4341
    4442#define USB_HID_NEW_REPORT_ITEM 1
     
    438436                case USB_HID_REPORT_TAG_STRING_MAXIMUM:
    439437                        report_item->string_maximum = usb_hid_report_tag_data_int32(data,item_size);
    440                         break;
    441 /*                     
     438                        break;                 
    442439                case USB_HID_REPORT_TAG_DELIMITER:
    443440                        report_item->delimiter = usb_hid_report_tag_data_int32(data,item_size);
    444441                        break;
    445 */             
     442               
    446443                default:
    447444                        return USB_HID_NO_ACTION;
Note: See TracChangeset for help on using the changeset viewer.