Changeset a1732929 in mainline for uspace/app
- Timestamp:
- 2018-01-15T17:04:34Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ff99e8
- Parents:
- c1a966e
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:32)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:34)
- Location:
- uspace/app
- Files:
-
- 4 edited
-
usbinfo/hid.c (modified) (2 diffs)
-
vuhid/hids/bootkbd.c (modified) (1 diff)
-
vuhid/life.c (modified) (2 diffs)
-
vuhid/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/hid.c
rc1a966e ra1732929 141 141 raw_report, report_size, &actual_report_size); 142 142 if (rc != EOK) { 143 usb_log_error("Failed to retrieve HID report descriptor: %s. \n",143 usb_log_error("Failed to retrieve HID report descriptor: %s.", 144 144 str_error(rc)); 145 145 free(raw_report); … … 150 150 rc = usb_hid_parse_report_descriptor(&report, raw_report, report_size); 151 151 if (rc != EOK) { 152 usb_log_error("Failed to part report descriptor: %s. \n",152 usb_log_error("Failed to part report descriptor: %s.", 153 153 str_error(rc)); 154 154 } -
uspace/app/vuhid/hids/bootkbd.c
rc1a966e ra1732929 110 110 #define _GET_LED(index, signature) \ 111 111 (((leds) & (1 << index)) ? (signature) : '-') 112 usb_log_info("%s: LEDs = %c%c%c%c%c \n",112 usb_log_info("%s: LEDs = %c%c%c%c%c", 113 113 iface->name, 114 114 _GET_LED(0, '0'), _GET_LED(1, 'A'), _GET_LED(2, 's'), -
uspace/app/vuhid/life.c
rc1a966e ra1732929 45 45 data->data_in_last_pos = (size_t) -1; 46 46 async_usleep(1000 * 1000 * 5); 47 usb_log_debug("%s \n", data->msg_born);47 usb_log_debug("%s", data->msg_born); 48 48 while (data->data_in_pos < data->data_in_count) { 49 49 async_usleep(1000 * data->data_in_pos_change_delay); … … 51 51 data->data_in_pos++; 52 52 } 53 usb_log_debug("%s \n", data->msg_die);53 usb_log_debug("%s", data->msg_die); 54 54 } 55 55 -
uspace/app/vuhid/main.c
rc1a966e ra1732929 227 227 228 228 for (int i = 0; i < (int) hid_dev.descriptors->configuration->extra_count; i++) { 229 usb_log_debug("Found extra descriptor: %s. \n",229 usb_log_debug("Found extra descriptor: %s.", 230 230 usb_debug_str_buffer( 231 231 hid_dev.descriptors->configuration->extra[i].data,
Note:
See TracChangeset
for help on using the changeset viewer.
