Ignore:
Timestamp:
2018-05-15T08:32:36Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8800b13, fac0ac7
Parents:
3a26925
git-author:
Jiri Svoboda <jiri@…> (2018-05-14 17:31:01)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-15 08:32:36)
Message:

Fix some block comments (found by ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/driver.h

    r3a26925 r47e00b83  
    6969         * When the driver expect single interrupt in endpoint,
    7070         * the initialization may look like this:
    71 \code
    72 static usb_endpoint_description_t poll_endpoint_description = {
    73         .transfer_type = USB_TRANSFER_INTERRUPT,
    74         .direction = USB_DIRECTION_IN,
    75         .interface_class = USB_CLASS_HUB,
    76         .interface_subclass = 0,
    77         .interface_protocol = 0,
    78         .flags = 0
    79 };
     71         *
     72         * @code
     73         * static usb_endpoint_description_t poll_endpoint_description = {
     74         *      .transfer_type = USB_TRANSFER_INTERRUPT,
     75         *      .direction = USB_DIRECTION_IN,
     76         *      .interface_class = USB_CLASS_HUB,
     77         *      .interface_subclass = 0,
     78         *      .interface_protocol = 0,
     79         *      .flags = 0
     80         * };
    8081
    81 static usb_endpoint_description_t *hub_endpoints[] = {
    82         &poll_endpoint_description,
    83         NULL
    84 };
     82         * static usb_endpoint_description_t *hub_endpoints[] = {
     83         *      &poll_endpoint_description,
     84         *      NULL
     85         * };
    8586
    86 static usb_driver_t hub_driver = {
    87         .endpoints = hub_endpoints,
    88         ...
    89 };
    90 \endcode
     87         * static usb_driver_t hub_driver = {
     88         *      .endpoints = hub_endpoints,
     89         *      ...
     90         * };
     91         * @endcode
    9192         */
    9293        const usb_endpoint_description_t **endpoints;
Note: See TracChangeset for help on using the changeset viewer.