Changes in uspace/drv/hid/adb-mouse/adb-mouse.c [fafb8e5:beb83c1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/adb-mouse/adb-mouse.c
rfafb8e5 rbeb83c1 99 99 errno_t retval = EOK; 100 100 101 if (! ipc_get_imethod(&call)) {101 if (!IPC_GET_IMETHOD(call)) { 102 102 /* TODO: Handle hangup */ 103 103 return; 104 104 } 105 105 106 switch ( ipc_get_imethod(&call)) {106 switch (IPC_GET_IMETHOD(call)) { 107 107 case ADB_REG_NOTIF: 108 adb_mouse_data(mouse, ipc_get_arg1(&call));108 adb_mouse_data(mouse, IPC_GET_ARG1(call)); 109 109 break; 110 110 default: … … 215 215 while (true) { 216 216 async_get_call(&call); 217 method = ipc_get_imethod(&call);217 method = IPC_GET_IMETHOD(call); 218 218 219 219 if (!method) {
Note:
See TracChangeset
for help on using the changeset viewer.