thobaben_serialize
Harald Christian Joachim Wolff 2017-08-24 20:06:16 +02:00
parent e4b422a71d
commit 9ecc508fb4
1 changed files with 1 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public class NewSerialPort {
setHandShake(HandShake.NONE);
setParity(Parity.NONE);
setTimeOut(0);
setTimeOut(250);
this.inputStream = new NewSerialPortInputStream();
this.outputStream = new NewSerialPortOutputStream();
@ -362,7 +362,6 @@ public class NewSerialPort {
public void write(byte[] b, int off, int len) throws IOException {
int nWritten = 0;
//log(DEBUGDETAIL,"NSP::write(...)");
for (int redo=0; redo < 5 ; redo++){
nWritten = nsp_write_bytes(nsp, b, off, len);