From: Karol Lewandowski Date: Fri, 23 May 2025 14:16:12 +0000 (+0200) Subject: usb_host_doc: Fix typos X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4916047bd5eb2f9cf03d157241b18a808c5ff394;p=platform%2Fcore%2Fapi%2Fusb-host.git usb_host_doc: Fix typos Spotted by Sunggyu Choi - thank you! Change-Id: I6266af47ca16d9874ce715135dfff2c1d0b6a599 --- diff --git a/doc/usb_host_doc.h b/doc/usb_host_doc.h index c1231c9..0118824 100644 --- a/doc/usb_host_doc.h +++ b/doc/usb_host_doc.h @@ -214,7 +214,7 @@ * usb_host_config_get_interface(cfg, interface_number, &iface); * usb_host_interface_get_endpoint(iface, ep_number, &ep); * - * ret = usb_host_transfer(ep, data, length, &transfered, 0); + * ret = usb_host_transfer(ep, data, length, &transferred, 0); * if (ret < 0) * error(); * @endcode @@ -335,7 +335,7 @@ * Before submitting the transfer you must setup isochronous packets lengths (and data, if making out transfer). * @code * for (i = 0; i < num_iso_packets; ++i) { - * ret = usb_host_transfer_set_iso_packet_length(transfer, i, packet_lenght); + * ret = usb_host_transfer_set_iso_packet_length(transfer, i, packet_length); * //... * * ret = usb_host_transfer_get_iso_packet_data(transfer, i, &data, &len); @@ -353,8 +353,8 @@ * You can make asynchronous control transfers as well. They use the same data type as other asynchronous transfers (#usb_host_transfer_h) * and can be handled in similar way. * - * A control transfer need specific format of data in buffer, i.e. first 8 bytes of buffer need to contain a setup packet. - * You can find more informations about setup packets in usb protocol specification. + * A control transfer needs specific format of data in buffer, i.e. first 8 bytes of buffer need to contain a setup packet. + * You can find more information about setup packets in usb protocol specification. * This API provides functions helping with filling the setup packet. * * @code