Skip to content

Commit

Permalink
Use override specifier in Wire.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dac1e committed Jan 3, 2025
1 parent c1eaa79 commit b9df583
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libraries/Wire/src/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ class TwoWire : public Stream
return requestFrom(static_cast<uint8_t>(address), static_cast<uint8_t>(quantity),
static_cast<uint8_t>(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) );

Expand Down

0 comments on commit b9df583

Please sign in to comment.