Changeset 6d15572 in mainline for uspace/srv/hid/input/port/chardev.c
- Timestamp:
- 2017-11-08T08:04:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f5b6fb5
- Parents:
- cecba66e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/chardev.c
rcecba66e r6d15572 59 59 /** List of devices to try connecting to. */ 60 60 static const char *in_devs[] = { 61 "char/s3c24xx_uart" 61 /** S3C24xx UART - Openmoko debug console */ 62 "char/s3c24xx_uart", 63 /** Ski console */ 64 "devices/\\hw\\console\\a" 62 65 }; 63 66 … … 74 77 75 78 for (i = 0; i < num_devs; i++) { 79 printf("%s: Probe service '%s'\n", NAME, in_devs[i]); 76 80 rc = loc_service_get_id(in_devs[i], &service_id, 0); 77 if (rc == EOK) 81 if (rc == EOK) { 82 printf("%s: success \n", NAME); 78 83 break; 84 } 79 85 } 80 86 … … 109 115 return -1; 110 116 } 117 printf("%s: Connected input device\n", NAME); 111 118 112 119 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.