Page 1 of 1

uartSendFullTimeout wrong transmitted bytes  Topic is solved

Posted: Fri Nov 08, 2019 11:04 am
by wurstnase
While uartSendTimeout is correct:

Code: Select all

  /* Waiting for result.*/
  msg = osalThreadSuspendTimeoutS(&uartp->threadtx, timeout);
  if (msg != MSG_OK) {
    *np -= uartStopSendI(uartp);
  }

uartSendFullTimeout is wrong:

Code: Select all

  /* Waiting for result.*/
  msg = osalThreadSuspendTimeoutS(&uartp->threadtx, timeout);
  if (msg != MSG_OK) {
    *np = uartStopSendI(uartp);
  }


Take care of the missing "-=" for uartStopSendI

Re: uartSendFullTimeout wrong transmitted bytes

Posted: Sat Nov 09, 2019 11:33 am
by Giovanni
Fixed as bug #1057.

thanks,
Giovanni