Changeset 984a9ba in mainline for uspace/srv/hid/input/ctl/kbdev.c
- Timestamp:
- 2018-07-05T09:34:09Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63d46341
- Parents:
- 76f566d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/ctl/kbdev.c
r76f566d r984a9ba 54 54 static void kbdev_ctl_set_ind(kbd_dev_t *, unsigned int); 55 55 56 static void kbdev_callback_conn( cap_call_handle_t,ipc_call_t *, void *arg);56 static void kbdev_callback_conn(ipc_call_t *, void *arg); 57 57 58 58 kbd_ctl_ops_t kbdev_ctl = { … … 147 147 } 148 148 149 static void kbdev_callback_conn( cap_call_handle_t icall_handle,ipc_call_t *icall, void *arg)149 static void kbdev_callback_conn(ipc_call_t *icall, void *arg) 150 150 { 151 151 kbdev_t *kbdev; … … 158 158 while (true) { 159 159 ipc_call_t call; 160 cap_call_handle_t chandle;160 async_get_call(&call); 161 161 162 chandle = async_get_call(&call);163 162 if (!IPC_GET_IMETHOD(call)) { 164 163 kbdev_destroy(kbdev); … … 179 178 } 180 179 181 async_answer_0( chandle, retval);180 async_answer_0(&call, retval); 182 181 } 183 182 }
Note:
See TracChangeset
for help on using the changeset viewer.