Add presetting RTS test
This commit is contained in:
parent
d2243293b7
commit
11864b4afe
|
@ -2,7 +2,7 @@
|
|||
* SerialPortTest.java
|
||||
*
|
||||
* Created on: Feb 27, 2015
|
||||
* Last Updated on: Mar 22, 2019
|
||||
* Last Updated on: Oct 29, 2019
|
||||
* Author: Will Hedgecock
|
||||
*
|
||||
* Copyright (C) 2012-2019 Fazecast, Inc.
|
||||
|
@ -111,6 +111,7 @@ public class SerialPortTest
|
|||
ubxPort = ports[serialPortChoice];
|
||||
byte[] readBuffer = new byte[2048];
|
||||
|
||||
System.out.println("\nPre-setting RTS: " + (ubxPort.setRTS() ? "Success" : "Failure"));
|
||||
boolean openedSuccessfully = ubxPort.openPort();
|
||||
System.out.println("\nOpening " + ubxPort.getSystemPortName() + ": " + ubxPort.getDescriptivePortName() + " - " + ubxPort.getPortDescription() + ": " + openedSuccessfully);
|
||||
if (!openedSuccessfully)
|
||||
|
|
Loading…
Reference in New Issue