Currently the behavior of ACANBuffer16::append does not conform to the documentation. The documentation says transmitBufferPeakCount and receiveBufferPeakCount return the size of the buffer + 1 if the buffer overflown. This is not the case, it returns the size of the buffer. This PR fixes the problem.
Hi Pierre,
Currently the behavior of ACANBuffer16::append does not conform to the documentation. The documentation says transmitBufferPeakCount and receiveBufferPeakCount return the size of the buffer + 1 if the buffer overflown. This is not the case, it returns the size of the buffer. This PR fixes the problem.
Best regards