Closedown
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user