Changeset 3c22f70 in mainline for uspace/srv/hid/kbd/port/adb.c
- Timestamp:
- 2011-01-24T00:14:13Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c9b742
- Parents:
- 11bb813
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/adb.c
r11bb813 r3c22f70 71 71 72 72 /* NB: The callback connection is slotted for removal */ 73 sysarg_t taskhash; 73 74 sysarg_t phonehash; 74 if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) {75 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 75 76 printf(NAME ": Failed to create callback from device\n"); 76 77 return false; 77 78 } 78 79 79 async_new_connection( phonehash, 0, NULL, kbd_port_events);80 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events); 80 81 81 82 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.