Drop return value from Serial::write() (#21567)

This commit is contained in:
Ramiro Polla
2021-04-09 04:05:31 +02:00
committed by Scott Lahteine
parent 6d9aaf8de5
commit 00ea75ce82
3 changed files with 4 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ struct SerialBase {
// Static dispatch methods below:
// The most important method here is where it all ends to:
size_t write(uint8_t c) { return SerialChild->write(c); }
void write(uint8_t c) { SerialChild->write(c); }
// Called when the parser finished processing an instruction, usually build to nothing
void msgDone() const { SerialChild->msgDone(); }