Skip to content

Commit 2559881

Browse files
committed
Update FtdiSerialDriver.cs
1 parent 78151cc commit 2559881

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)