Skip to content

Commit 4c2591a

Browse files
committed
Fix a comment in serial_port_windows.c.
1 parent d801f20 commit 4c2591a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/serial_port_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ libusbp_error * libusbp_serial_port_create(
127127
// FTDI devices like the FT232RL aren't actually composite but they look
128128
// like it on Windows because the serial port device is a child of the USB
129129
// device. On Linux and macOS, those devices can be detected with
130-
// composite=false (or composite=true and interface_number=1).
130+
// composite=false (or composite=true and interface_number=0).
131131
// This workaround allows that to work on Windows too, and it mights make
132132
// this API easier to use for some non-FTDI devices too.
133133
if (error && !composite)

0 commit comments

Comments
 (0)