Changeset 423c749 in mainline for uspace/lib/usb/include


Ignore:
Timestamp:
2013-07-27T07:49:45Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3aac088
Parents:
2838486
Message:

libusbhost: Remove usb_device_manager.

Functions merged to usb_endpoint_manager.

File:
1 edited

Legend:

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

    r2838486 r423c749  
    110110#define USB_ADDRESS_DEFAULT 0
    111111/** Maximum address number in USB 1.1. */
    112 #define USB11_ADDRESS_MAX 128
     112#define USB11_ADDRESS_MAX 127
     113#define USB_ADDRESS_COUNT (USB11_ADDRESS_MAX + 1)
    113114
    114115/** Check USB address for allowed values.
     
    119120static inline bool usb_address_is_valid(usb_address_t a)
    120121{
    121         return (a >= USB_ADDRESS_DEFAULT) && (a < USB11_ADDRESS_MAX);
     122        return (a >= USB_ADDRESS_DEFAULT) && (a <= USB11_ADDRESS_MAX);
    122123}
    123124
Note: See TracChangeset for help on using the changeset viewer.