Changeset 4fe3b6d in mainline for uspace/lib/usbhost/src
- Timestamp:
- 2011-05-20T11:07:00Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8bb61e6
- Parents:
- 3476be8 (diff), 7941bd6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/usbhost/src
- Files:
-
- 1 deleted
- 3 edited
-
addrkeep.c (deleted)
-
batch.c (modified) (1 diff)
-
device_keeper.c (modified) (3 diffs)
-
endpoint.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/batch.c
r3476be8 r4fe3b6d 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup libusb 28 /** @addtogroup libusbhost 29 29 * @{ 30 30 */ -
uspace/lib/usbhost/src/device_keeper.c
r3476be8 r4fe3b6d 27 27 */ 28 28 29 /** @addtogroup libusb 29 /** @addtogroup libusbhost 30 30 * @{ 31 31 */ … … 158 158 } 159 159 160 /** Find devman handled assigned to USB address. 160 /** Find devman handle assigned to USB address. 161 * Intentionally refuse to find handle of default address. 161 162 * 162 163 * @param[in] instance Device keeper structure to use. … … 170 171 assert(instance); 171 172 fibril_mutex_lock(&instance->guard); 172 if ((address < 0) || (address >= USB_ADDRESS_COUNT)) {173 if ((address <= 0) || (address >= USB_ADDRESS_COUNT)) { 173 174 fibril_mutex_unlock(&instance->guard); 174 175 return false; -
uspace/lib/usbhost/src/endpoint.c
r3476be8 r4fe3b6d 35 35 36 36 #include <assert.h> 37 #include <stdlib.h> 37 38 #include <errno.h> 38 39 #include <usb/host/endpoint.h>
Note:
See TracChangeset
for help on using the changeset viewer.
