usb_host_doc: Fix typos 35/324735/2 tizen_9.0
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 23 May 2025 14:16:12 +0000 (16:16 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 27 May 2025 08:35:27 +0000 (10:35 +0200)
Spotted by Sunggyu Choi - thank you!

Change-Id: I6266af47ca16d9874ce715135dfff2c1d0b6a599

doc/usb_host_doc.h

index c1231c91a4c532efaa4bfcf2a6c8c5b2c1a01430..011882490a458362536d0f5f6f86a51b2aa7a59c 100644 (file)
  * 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
  * 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);
  * 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