Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SoftwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ inline void SoftwareSerial::tunedDelay(uint16_t delay) {
"cpi %A0, 0xFF \n\t"
"cpc %B0, %1 \n\t"
"brne .-10 \n\t"
: "+r" (delay), "+a" (tmp)
: "+w" (delay), "+a" (tmp)
: "0" (delay)
);
}
Expand Down
10 changes: 5 additions & 5 deletions SoftwareSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ class SoftwareSerial : public Stream
void end();
bool isListening() { return this == active_object; }
bool overflow() { bool ret = _buffer_overflow; _buffer_overflow = false; return ret; }
int peek();
int peek() override;

virtual size_t write(uint8_t byte);
virtual int read();
virtual int available();
virtual void flush();
virtual size_t write(uint8_t byte) override;
virtual int read() override;
virtual int available() override;
virtual void flush() override;

using Print::write;

Expand Down