Changeset 3aac088 in mainline


Ignore:
Timestamp:
2013-07-27T07:54:32Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a23fef
Parents:
423c749
Message:

libusbhost: Initialize last_address to zero.

get_free_address is smart enough to not give us DEFAULT_ADDRESS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb_endpoint_manager.c

    r423c749 r3aac088  
    187187        instance->free_bw = available_bandwidth;
    188188        instance->bw_count = bw_count;
    189         instance->last_address = 1;
     189        instance->last_address = 0;
    190190        instance->max_speed = max_speed;
    191191        for (unsigned i = 0; i < ARRAY_SIZE(instance->devices); ++i) {
Note: See TracChangeset for help on using the changeset viewer.