Changeset da3965e in mainline


Ignore:
Timestamp:
2011-03-01T23:11:40Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e259d95
Parents:
e24e7b1
Message:

USB HID report descriptor parser bug fix

Location:
uspace/lib/usb
Files:
2 edited

Legend:

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

    re24e7b1 rda3965e  
    3737
    3838#include <stdint.h>
     39#include <adt/list.h>
     40#include <usb/classes/hid_report_items.h>
    3941
    4042/**
  • uspace/lib/usb/src/hidparser.c

    re24e7b1 rda3965e  
    5555int usb_hid_report_reset_local_items();
    5656void usb_hid_free_report_list(link_t *head);
    57 
     57int32_t usb_hid_report_tag_data_int32(uint8_t *data, size_t size);
    5858/**
    5959 *
     
    6868    list_initialize(&(parser->output));
    6969    list_initialize(&(parser->feature));
    70    
     70
     71    return EOK;   
    7172}
    7273
     
    384385                        return -1; //TODO ERROR CODE INVALID GLOBAL TAG
    385386        }
     387       
     388        return EOK;
    386389}
    387390
     
    435438                        return -1; //TODO ERROR CODE INVALID LOCAL TAG NOW IS ONLY UNSUPPORTED
    436439        }
     440       
     441        return EOK;
    437442}
    438443
     
    446451int32_t usb_hid_report_tag_data_int32(uint8_t *data, size_t size)
    447452{
    448         int i;
     453        unsigned int i;
    449454        int32_t result;
    450455
Note: See TracChangeset for help on using the changeset viewer.