Changeset f9b2cb4c in mainline for uspace/srv/hid/input/port/adb.c
- Timestamp:
- 2015-08-23T12:50:23Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ef495f
- Parents:
- 0dd16778
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/adb.c
r0dd16778 rf9b2cb4c 69 69 return rc; 70 70 71 dev_sess = loc_service_connect( EXCHANGE_ATOMIC, service_id, 0);71 dev_sess = loc_service_connect(service_id, INTERFACE_DDF, 0); 72 72 if (dev_sess == NULL) { 73 73 printf("%s: Failed to connect to device\n", NAME); … … 82 82 } 83 83 84 rc = async_connect_to_me(exch, 0, 0, 0, kbd_port_events, NULL); 84 port_id_t port; 85 rc = async_create_callback_port(exch, INTERFACE_ADB_CB, 0, 0, 86 kbd_port_events, NULL, &port); 87 85 88 async_exchange_end(exch); 86 89 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.