Skip to content

Commit b448a2c

Browse files
authored
Merge pull request #34 from IhorNehrutsa/ftdi
Update FtdiSerialDriver.cs
2 parents 324f3fc + 2559881 commit b448a2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UsbSerialForAndroid/driver/FtdiSerialDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public override void SetRTS(Boolean value)
450450
value ? MODEM_CONTROL_RTS_ENABLE : MODEM_CONTROL_RTS_DISABLE, mPortNumber + 1, null, 0, USB_WRITE_TIMEOUT_MILLIS);
451451
if (result != 0)
452452
{
453-
throw new IOException("Set DTR failed: result=" + result);
453+
throw new IOException("Set RTS failed: result=" + result);
454454
}
455455
rts = value;
456456
}

0 commit comments

Comments
 (0)