Update test to include opening with no sleep timeout

This commit is contained in:
hedgecrw85 2019-11-07 10:05:13 -06:00
parent 9189732c3d
commit 6d8da8a9e2
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import java.util.Scanner;
* This class provides a test case for the jSerialComm library.
*
* @author Will Hedgecock <will.hedgecock@gmail.com>
* @version 2.5.2
* @version 2.5.3
* @see java.io.InputStream
* @see java.io.OutputStream
*/
@ -112,7 +112,7 @@ public class SerialPortTest
byte[] readBuffer = new byte[2048];
System.out.println("\nPre-setting RTS: " + (ubxPort.setRTS() ? "Success" : "Failure"));
boolean openedSuccessfully = ubxPort.openPort();
boolean openedSuccessfully = ubxPort.openPort(0);
System.out.println("\nOpening " + ubxPort.getSystemPortName() + ": " + ubxPort.getDescriptivePortName() + " - " + ubxPort.getPortDescription() + ": " + openedSuccessfully);
if (!openedSuccessfully)
return;