Changes in uspace/srv/hid/adb_mouse/adb_dev.c [ffa2c8ef:3c22f70] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/adb_mouse/adb_dev.c
rffa2c8ef r3c22f70 34 34 */ 35 35 36 #include <ipc/ipc.h> 36 37 #include <ipc/adb.h> 37 38 #include <async.h> … … 67 68 68 69 /* NB: The callback connection is slotted for removal */ 69 if (async_connect_to_me(dev_phone, 0, 0, 0, adb_dev_events) != 0) { 70 sysarg_t taskhash; 71 sysarg_t phonehash; 72 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 70 73 printf(NAME ": Failed to create callback from device\n"); 71 74 return false; 72 75 } 73 76 77 async_new_connection(taskhash, phonehash, 0, NULL, adb_dev_events); 78 74 79 return 0; 75 80 } … … 95 100 retval = ENOENT; 96 101 } 97 async_answer_0(callid, retval);102 ipc_answer_0(callid, retval); 98 103 } 99 104 }
Note:
See TracChangeset
for help on using the changeset viewer.