Changes in uspace/srv/hid/isdv4_tablet/main.c [f66ca57f:f9b2cb4c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/isdv4_tablet/main.c
rf66ca57f rf9b2cb4c 27 27 */ 28 28 29 #include < device/char_dev.h>29 #include <char_dev_iface.h> 30 30 #include <errno.h> 31 31 #include <ipc/serial_ctl.h> … … 36 36 #include <ipc/mouseev.h> 37 37 #include <inttypes.h> 38 #include <task.h> 38 39 39 40 #include "isdv4.h" … … 68 69 async_sess_t *sess = 69 70 async_callback_receive(EXCHANGE_SERIALIZE); 71 70 72 fibril_mutex_lock(&client_mutex); 71 if (client_sess == NULL) { 72 client_sess = sess; 73 } 73 74 if (client_sess == NULL) 75 client_sess = sess; 76 74 77 fibril_mutex_unlock(&client_mutex); 75 78 … … 261 264 printf(NAME ": Using serial port %s\n", serial_port_name); 262 265 263 async_sess_t *sess = loc_service_connect( EXCHANGE_SERIALIZE, svc_id,266 async_sess_t *sess = loc_service_connect(svc_id, INTERFACE_DDF, 264 267 IPC_FLAG_BLOCKING); 265 268 if (!sess) { … … 305 308 fibril_add_ready(fibril); 306 309 307 async_set_ client_connection(mouse_connection);310 async_set_fallback_port_handler(mouse_connection, NULL); 308 311 rc = loc_server_register(NAME); 309 312 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.