Ignore:
Timestamp:
2018-04-27T14:15:03Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7148abf
Parents:
a2eb85d
git-author:
Jiri Svoboda <jiri@…> (2018-04-26 17:14:26)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-27 14:15:03)
Message:

Fix incorrectly indented double-slash comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usbhid.c

    ra2eb85d r3fafe5e0  
    287287static void remote_usbhid_get_report_descriptor_length(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
    288288static void remote_usbhid_get_report_descriptor(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
    289 // static void remote_usbhid_(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *);
    290289
    291290/** Remote USB HID interface operations. */
     
    305304};
    306305
    307 //usbhc_iface_t *usb_iface = (usbhc_iface_t *) iface;
    308 
    309306
    310307void remote_usbhid_get_event_length(ddf_fun_t *fun, void *iface,
     
    322319
    323320        size_t len = hid_iface->get_event_length(fun);
    324 //      if (len == 0) {
    325 //              len = EEMPTY;
    326 //      }
    327321        async_answer_1(chandle, EOK, len);
    328 
    329 //      if (len < 0) {
    330 //              async_answer_0(chandle, len);
    331 //      } else {
    332 //              async_answer_1(chandle, EOK, len);
    333 //      }
    334322}
    335323
     
    352340                return;
    353341        }
    354 //      /* Check that length is even number. Truncate otherwise. */
    355 //      if ((len % 2) == 1) {
    356 //              len--;
    357 //      }
     342
    358343        if (len == 0) {
    359344                async_answer_0(data_chandle, EINVAL);
Note: See TracChangeset for help on using the changeset viewer.