mirror of https://github.com/FOME-Tech/fome-fw.git
progress
This commit is contained in:
parent
ac6363952a
commit
7a96a75657
|
@ -62,6 +62,7 @@ public class SerialIoStreamJSSC implements IoStream {
|
|||
isClosed = true;
|
||||
try {
|
||||
FileLog.MAIN.logLine("CLOSING PORT... " + serialPort.getPortName());
|
||||
serialPort.removeEventListener();
|
||||
serialPort.closePort();
|
||||
FileLog.MAIN.logLine("PORT CLOSED: " + serialPort.getPortName());
|
||||
} catch (SerialPortException e) {
|
||||
|
|
Loading…
Reference in New Issue