Changeset df6ded8 in mainline for uspace/drv/hid/usbhid/blink1/blink1.c
- Timestamp:
- 2018-02-28T16:37:50Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b20da0
- Parents:
- f5e5f73 (diff), b2dca8de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
- git-committer:
- Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/blink1/blink1.c
rf5e5f73 rdf6ded8 64 64 usb_blink1_t *blink1_dev = (usb_blink1_t *) ddf_fun_data_get(fun); 65 65 if (blink1_dev == NULL) { 66 usb_log_debug("Missing parameters. \n");66 usb_log_debug("Missing parameters."); 67 67 return EINVAL; 68 68 } … … 105 105 fun_exposed, HID_BLINK1_FUN_NAME); 106 106 if (fun == NULL) { 107 usb_log_error("Could not create DDF function node `%s'. \n",107 usb_log_error("Could not create DDF function node `%s'.", 108 108 HID_BLINK1_FUN_NAME); 109 109 return ENOMEM; … … 123 123 errno_t rc = ddf_fun_bind(fun); 124 124 if (rc != EOK) { 125 usb_log_error("Could not bind DDF function `%s': %s. \n",125 usb_log_error("Could not bind DDF function `%s': %s.", 126 126 ddf_fun_get_name(fun), str_error(rc)); 127 127 ddf_fun_destroy(fun); … … 131 131 rc = ddf_fun_add_to_category(fun, HID_BLINK1_CATEGORY); 132 132 if (rc != EOK) { 133 usb_log_error("Could not add DDF function to category %s: %s. \n",133 usb_log_error("Could not add DDF function to category %s: %s.", 134 134 HID_BLINK1_CATEGORY, str_error(rc)); 135 135
Note:
See TracChangeset
for help on using the changeset viewer.