redirected some error msg. to debug log
This commit is contained in:
parent
da2e52badc
commit
9078fabbd3
1 changed files with 2 additions and 1 deletions
|
|
@ -1339,7 +1339,8 @@ endsendevent:
|
||||||
err = write(x->comhandle,(char *)x->x_outbuf, x->x_outbuf_wr_index);
|
err = write(x->comhandle,(char *)x->x_outbuf, x->x_outbuf_wr_index);
|
||||||
if (err != x->x_outbuf_wr_index)
|
if (err != x->x_outbuf_wr_index)
|
||||||
{
|
{
|
||||||
pd_error(x,"[comport]: Write failed for %d bytes, error is %d",err,errno);
|
//pd_error(x,"[comport]: Write failed for %d bytes, error is %d",err,errno);
|
||||||
|
logpost(x,PD_DEBUG,"[comport]: Write failed for %d bytes, error is %d",err,errno);
|
||||||
}
|
}
|
||||||
#endif /*_WIN32*/
|
#endif /*_WIN32*/
|
||||||
x->x_outbuf_wr_index = 0; /* for now we just drop anything that didn't send */
|
x->x_outbuf_wr_index = 0; /* for now we just drop anything that didn't send */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue