Changeset e29e09cf in mainline for uspace/srv/hid/kbd/port/adb.c
- Timestamp:
- 2011-02-04T21:00:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 474afc9, 960ff451
- Parents:
- 400575c5 (diff), 17aca1c (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/adb.c
r400575c5 re29e09cf 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <ipc/adb.h> 39 38 #include <async.h> … … 71 70 72 71 /* NB: The callback connection is slotted for removal */ 73 sysarg_t taskhash; 74 sysarg_t phonehash; 75 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 72 if (async_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) { 76 73 printf(NAME ": Failed to create callback from device\n"); 77 74 return false; 78 75 } 79 80 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events);81 76 82 77 return 0; … … 116 111 retval = ENOENT; 117 112 } 118 ipc_answer_0(callid, retval);113 async_answer_0(callid, retval); 119 114 } 120 115 }
Note:
See TracChangeset
for help on using the changeset viewer.