Merged
parent
e4b422a71d
commit
9ecc508fb4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue