From: Bert Vermeulen Date: Sun, 5 Oct 2014 00:38:35 +0000 (+0200) Subject: Fix typos. X-Git-Tag: libserialport-0.1.1~92 X-Git-Url: http://sigrok.org/gitweb/?p=libserialport.git;a=commitdiff_plain;h=d66bbceaa7f86262bc8e758e7a665fcce7340f01 Fix typos. --- diff --git a/libserialport.h.in b/libserialport.h.in index 6a09318..eca21a5 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -237,7 +237,7 @@ enum sp_transport { SP_TRANSPORT_NATIVE, /** USB serial port adapter. */ SP_TRANSPORT_USB, - /** Bluetooh serial port adapter. */ + /** Bluetooth serial port adapter. */ SP_TRANSPORT_BLUETOOTH }; diff --git a/windows.c b/windows.c index 38ea0ce..523b8d0 100644 --- a/windows.c +++ b/windows.c @@ -253,7 +253,7 @@ static void enumerate_hub(struct sp_port *port, char *hub_name, /* get the number of ports of the hub */ if (DeviceIoControl(hub_device, IOCTL_USB_GET_NODE_INFORMATION, &hub_info, size, &hub_info, size, &size, NULL)) - /* enumarate the ports of the hub */ + /* enumerate the ports of the hub */ enumerate_hub_ports(port, hub_device, hub_info.u.HubInformation.HubDescriptor.bNumberOfPorts, parent_path); @@ -448,7 +448,7 @@ SP_PRIV enum sp_return get_port_details(struct sp_port *port) free(escaped_port_name); CloseHandle(handle); - /* retrive USB device details from the device descriptor */ + /* retrieve USB device details from the device descriptor */ get_usb_details(port, device_info_data.DevInst); } break;