Followup to "no status for serial::write" (#21577)

This commit is contained in:
ellensp
2021-04-11 08:35:45 +12:00
committed by GitHub
parent 37e671612e
commit 62f992af23
3 changed files with 7 additions and 9 deletions

View File

@ -133,7 +133,7 @@ struct MeatpackSerial : public SerialBase <MeatpackSerial < SerialT >> {
uint8_t charCount;
uint8_t readIndex;
NO_INLINE size_t write(uint8_t c) { return out.write(c); }
NO_INLINE void write(uint8_t c) { out.write(c); }
void flush() { out.flush(); }
void begin(long br) { out.begin(br); readIndex = 0; }
void end() { out.end(); }