Changes in uspace/srv/hid/fb/serial_console.c [9934f7d:4f14e1f8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/serial_console.c
r9934f7d r4f14e1f8 52 52 #include "serial_console.h" 53 53 54 // FIXME: remove this header55 #include <kernel/ipc/ipc_methods.h>56 57 54 #define MAX_CONTROL 20 58 55 … … 315 312 * Main function of the thread serving client connections. 316 313 */ 317 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall , void *arg)314 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall) 318 315 { 319 316 keyfield_t *interbuf = NULL; … … 347 344 int retval; 348 345 349 if (!IPC_GET_IMETHOD(call)) { 346 switch (IPC_GET_IMETHOD(call)) { 347 case IPC_M_PHONE_HUNGUP: 350 348 client_connected = 0; 351 349 async_answer_0(callid, EOK); … … 353 351 /* Exit thread */ 354 352 return; 355 }356 357 switch (IPC_GET_IMETHOD(call)) {358 353 case IPC_M_SHARE_OUT: 359 354 /* We accept one area for data interchange */
Note:
See TracChangeset
for help on using the changeset viewer.