Add presetting RTS test

This commit is contained in:
hedgecrw85 2019-10-29 11:36:55 -05:00
parent d2243293b7
commit 11864b4afe
1 changed files with 2 additions and 1 deletions

View File

@ -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)