1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Fix arg type in Wire to size_t (#5289)

This commit is contained in:
Develo
2018-10-28 20:53:21 -03:00
committed by GitHub
parent d7ca884007
commit 22bab5f09b
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ void TwoWire::flush(void){
txBufferLength = 0;
}
void TwoWire::onReceiveService(uint8_t* inBytes, int numBytes)
void TwoWire::onReceiveService(uint8_t* inBytes, size_t numBytes)
{
// don't bother if user hasn't registered a callback
if (!user_onReceive) {