Changeset fafb8e5 in mainline for uspace/drv/hid/adb-mouse/adb-mouse.c
- Timestamp:
- 2019-02-06T13:25:12Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95a47b0
- Parents:
- eb13ef8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/adb-mouse/adb-mouse.c
reb13ef8 rfafb8e5 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.