|
@@ -209,11 +209,9 @@ struct MultiSerial : public SerialBase< MultiSerial<Serial0T, Serial1T, offset,
|
209
|
209
|
static constexpr uint8_t SecondOutput = (Usage << (offset + step));
|
210
|
210
|
static constexpr uint8_t Both = FirstOutput | SecondOutput;
|
211
|
211
|
|
212
|
|
- NO_INLINE size_t write(uint8_t c) {
|
213
|
|
- size_t ret = 0;
|
214
|
|
- if (portMask.enabled(FirstOutput)) ret = serial0.write(c);
|
215
|
|
- if (portMask.enabled(SecondOutput)) ret = serial1.write(c) | ret;
|
216
|
|
- return ret;
|
|
212
|
+ NO_INLINE void write(uint8_t c) {
|
|
213
|
+ if (portMask.enabled(FirstOutput)) serial0.write(c);
|
|
214
|
+ if (portMask.enabled(SecondOutput)) serial1.write(c);
|
217
|
215
|
}
|
218
|
216
|
NO_INLINE void msgDone() {
|
219
|
217
|
if (portMask.enabled(FirstOutput)) serial0.msgDone();
|