Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/kbd/kbddev.c

    rfafb8e5 r09ab0a9a  
    159159static void default_connection_handler(ddf_fun_t *fun, ipc_call_t *icall)
    160160{
    161         const sysarg_t method = ipc_get_imethod(icall);
     161        const sysarg_t method = IPC_GET_IMETHOD(*icall);
    162162        usb_kbd_t *kbd_dev = ddf_fun_data_get(fun);
    163163        async_sess_t *sess;
     
    165165        switch (method) {
    166166        case KBDEV_SET_IND:
    167                 kbd_dev->mods = ipc_get_arg1(icall);
     167                kbd_dev->mods = IPC_GET_ARG1(*icall);
    168168                usb_kbd_set_led(kbd_dev->hid_dev, kbd_dev);
    169169                async_answer_0(icall, EOK);
Note: See TracChangeset for help on using the changeset viewer.