From a7ff0ea1436a7c252c1a1a0fdbf9722889e50952 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Thu, 31 Aug 2017 17:17:04 +0200 Subject: [PATCH] Closedown --- plugins/LaserUE.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/LaserUE.java b/plugins/LaserUE.java index 925d34c..588a853 100644 --- a/plugins/LaserUE.java +++ b/plugins/LaserUE.java @@ -14,14 +14,14 @@ public class LaserUE extends SerialPortDevice{ public LaserUE(String name, String port) { super(name, port, 921600, SerialPortDeviceConfig.DataBits.DB_8, SerialPortDeviceConfig.StopBits.SB_1, SerialPortDeviceConfig.Parity.None); - this.setMode(Mode.FullDuplex); + //this.setMode(Mode.FullDuplex); } int value = 0; int count = 0; - @Override - protected void onByte(int rx) { + //@Override + protected void onBytee(int rx) { System.out.print(rx); if (rx < 0) { count = 0;