Changeset 3f03199 in mainline for uspace/drv/bus/usb/usbmid
- Timestamp:
- 2013-09-15T06:33:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9348862
- Parents:
- dd7078c (diff), 1c0cef0 (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/drv/bus/usb/usbmid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmid/explore.c
rdd7078c r3f03199 50 50 static bool interface_in_list(const list_t *list, int interface_no) 51 51 { 52 list_foreach(*list, l) { 53 const usbmid_interface_t *iface = usbmid_interface_from_link(l); 52 list_foreach(*list, link, const usbmid_interface_t, iface) { 54 53 if (iface->interface_no == interface_no) { 55 54 return true; -
uspace/drv/bus/usb/usbmid/usbmid.c
rdd7078c r3f03199 140 140 } 141 141 142 list_foreach(match_ids.ids, link) { 143 match_id_t *match_id = list_get_instance(link, match_id_t, link); 142 list_foreach(match_ids.ids, link, match_id_t, match_id) { 144 143 rc = ddf_fun_add_match_id(child, match_id->id, match_id->score); 145 144 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.
