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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user