Changeset 42de21a in mainline for uspace/drv/bus/usb/ehci/ehci_endpoint.c
- Timestamp:
- 2014-01-24T03:24:54Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dc44023
- Parents:
- 4e732f1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_endpoint.c
r4e732f1a r42de21a 35 35 #include <assert.h> 36 36 #include <stdlib.h> 37 #include <usb/debug.h> 37 38 38 39 #include "utils/malloc32.h" … … 50 51 assert(instance); 51 52 assert(instance->qh); 52 // qh_toggle_set(instance->qh, toggle); 53 if (qh_toggle_from_td(instance->qh)) 54 usb_log_warning("Setting toggle bit for transfer directed EP\n"); 55 qh_toggle_set(instance->qh, toggle); 53 56 } 54 57 … … 63 66 assert(instance); 64 67 assert(instance->qh); 65 return 0; 66 // return qh_toggle_get(instance->qh); 68 if (qh_toggle_from_td(instance->qh)) 69 usb_log_warning("Reading useless toggle bit\n"); 70 return qh_toggle_get(instance->qh); 67 71 } 68 72
Note:
See TracChangeset
for help on using the changeset viewer.