This commit is contained in:
Francois Best 2016-10-04 18:56:05 -07:00
parent 3822bc2e33
commit 0b0bd7eda5
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ void SerialMock<BufferSize>::begin(int inBaudrate)
template<int BufferSize> template<int BufferSize>
int SerialMock<BufferSize>::available() const int SerialMock<BufferSize>::available() const
{ {
return mRxBuffer.getSize(); return mRxBuffer.getLength();
} }
template<int BufferSize> template<int BufferSize>