Changeset bf58895 in mainline


Ignore:
Timestamp:
2011-03-17T22:24:32Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4fa05a32
Parents:
da77278
Message:

usbinfo uses the library descriptor walker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/info.c

    rda77278 rbf58895  
    102102    size_t depth, void *arg)
    103103{
    104         const char *indent = get_indent(depth);
     104        const char *indent = get_indent(depth + 1);
    105105
    106106        int descr_type = -1;
     
    146146{
    147147        dump_descriptor_tree_brief_callback((uint8_t *)&dev->device_descriptor,
    148             0, NULL);
    149         browse_descriptor_tree(dev->full_configuration_descriptor,
     148            (size_t) -1, NULL);
     149        usb_dp_walk_simple(dev->full_configuration_descriptor,
    150150            dev->full_configuration_descriptor_size,
    151151            usb_dp_standard_descriptor_nesting,
    152152            dump_descriptor_tree_brief_callback,
    153             1,
    154153            NULL);
    155154}
Note: See TracChangeset for help on using the changeset viewer.