We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d801f20 commit 4c2591aCopy full SHA for 4c2591a
src/windows/serial_port_windows.c
@@ -127,7 +127,7 @@ libusbp_error * libusbp_serial_port_create(
127
// FTDI devices like the FT232RL aren't actually composite but they look
128
// like it on Windows because the serial port device is a child of the USB
129
// device. On Linux and macOS, those devices can be detected with
130
- // composite=false (or composite=true and interface_number=1).
+ // composite=false (or composite=true and interface_number=0).
131
// This workaround allows that to work on Windows too, and it mights make
132
// this API easier to use for some non-FTDI devices too.
133
if (error && !composite)
0 commit comments