Update test to include opening with no sleep timeout
This commit is contained in:
parent
9189732c3d
commit
6d8da8a9e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue