diff --git a/libraries/Wire/src/Wire.h b/libraries/Wire/src/Wire.h index 2103529a..8c735aa6 100644 --- a/libraries/Wire/src/Wire.h +++ b/libraries/Wire/src/Wire.h @@ -77,12 +77,12 @@ class TwoWire : public Stream return requestFrom(static_cast(address), static_cast(quantity), static_cast(sendStop)); } - virtual size_t write(uint8_t); - virtual size_t write(const uint8_t *, size_t); - virtual int available(void); - virtual int read(void); - virtual int peek(void); - virtual void flush(void); + size_t write(uint8_t) override; + size_t write(const uint8_t *, size_t) override; + int available(void) override; + int read(void) override; + int peek(void) override; + void flush(void) override; void onReceive( void (*)(int) ); void onRequest( void (*)(void) );