From 5c857d030a3d65ad80b25283acc8e5923c36c685 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Thu, 31 Aug 2017 17:40:15 +0200 Subject: [PATCH] Closedown --- plugins/LaserUE.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/LaserUE.java b/plugins/LaserUE.java index 30a6619..e733781 100644 --- a/plugins/LaserUE.java +++ b/plugins/LaserUE.java @@ -28,6 +28,7 @@ public class LaserUE extends SerialPortDevice{ protected void onByte(int rx) { if (rx<0){ rx+=256; + rx|=BIT7; } System.out.println(rx); int index = ((rx&BIT7) > 0) ? 2 : (((rx&BIT6) > 0) ? 1 : 0);