Changeset b77931d in mainline for uspace/lib/usbdev/src/devpoll.c
- Timestamp:
- 2011-11-05T16:08:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d176b1d
- Parents:
- ab27e01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devpoll.c
rab27e01 rb77931d 73 73 74 74 usb_pipe_t *pipe 75 = polling_data->dev->pipes[polling_data->pipe_index].pipe;75 = &polling_data->dev->pipes[polling_data->pipe_index].pipe; 76 76 77 77 if (polling_data->debug > 0) { … … 208 208 return EINVAL; 209 209 } 210 if ((dev->pipes[pipe_index].pipe ->transfer_type != USB_TRANSFER_INTERRUPT)211 || (dev->pipes[pipe_index].pipe ->direction != USB_DIRECTION_IN)) {210 if ((dev->pipes[pipe_index].pipe.transfer_type != USB_TRANSFER_INTERRUPT) 211 || (dev->pipes[pipe_index].pipe.direction != USB_DIRECTION_IN)) { 212 212 return EINVAL; 213 213 } … … 254 254 return EINVAL; 255 255 } 256 if ((dev->pipes[pipe_index].pipe ->transfer_type != USB_TRANSFER_INTERRUPT)257 || (dev->pipes[pipe_index].pipe ->direction != USB_DIRECTION_IN)) {256 if ((dev->pipes[pipe_index].pipe.transfer_type != USB_TRANSFER_INTERRUPT) 257 || (dev->pipes[pipe_index].pipe.direction != USB_DIRECTION_IN)) { 258 258 return EINVAL; 259 259 }
Note:
See TracChangeset
for help on using the changeset viewer.