Changes in uspace/drv/hid/usbhid/kbd/kbddev.c [fafb8e5:09ab0a9a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/kbd/kbddev.c
rfafb8e5 r09ab0a9a 159 159 static void default_connection_handler(ddf_fun_t *fun, ipc_call_t *icall) 160 160 { 161 const sysarg_t method = ipc_get_imethod(icall);161 const sysarg_t method = IPC_GET_IMETHOD(*icall); 162 162 usb_kbd_t *kbd_dev = ddf_fun_data_get(fun); 163 163 async_sess_t *sess; … … 165 165 switch (method) { 166 166 case KBDEV_SET_IND: 167 kbd_dev->mods = ipc_get_arg1(icall);167 kbd_dev->mods = IPC_GET_ARG1(*icall); 168 168 usb_kbd_set_led(kbd_dev->hid_dev, kbd_dev); 169 169 async_answer_0(icall, EOK);
Note:
See TracChangeset
for help on using the changeset viewer.