Ignore:
Timestamp:
2011-04-06T22:02:17Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4ca18ae
Parents:
8dc762e0
Message:

Switch to new endpoint toggle control.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/host/endpoint.h

    r8dc762e0 rf567bcf  
    4747        size_t max_packet_size;
    4848        bool active;
    49         int toggle:1;
     49        unsigned toggle:1;
    5050} endpoint_t;
    5151
     
    5555void endpoint_destroy(endpoint_t *instance);
    5656
     57int endpoint_toggle_get(endpoint_t *instance);
     58
     59void endpoint_toggle_set(endpoint_t *instance, int toggle);
     60
    5761void endpoint_toggle_reset(link_t *ep);
     62
    5863
    5964#endif
Note: See TracChangeset for help on using the changeset viewer.