kopia lustrzana https://github.com/felHR85/UsbSerial
Minor code reformatting
rodzic
42e8e772e0
commit
09a3f869ec
|
@ -149,9 +149,7 @@ public class SerialBuffer
|
|||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if(position <= -1 ) {
|
||||
return new byte[DEFAULT_READ_BUFFER_SIZE];
|
||||
}
|
||||
if(position <= -1 ) return new byte[DEFAULT_READ_BUFFER_SIZE];
|
||||
byte[] dst = Arrays.copyOfRange(buffer, 0, position);
|
||||
if(debugging)
|
||||
UsbSerialDebugger.printLogGet(dst, true);
|
||||
|
|
Ładowanie…
Reference in New Issue