From 5bec0d078055e304a305d11985e76f6fc2efa65b Mon Sep 17 00:00:00 2001 From: Hootie81 Date: Fri, 20 Jul 2018 21:00:09 +1000 Subject: [PATCH] Add support VK6MST_Shield Serial pass-thru --- I2CTeensy.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/I2CTeensy.cpp b/I2CTeensy.cpp index f034724..cfa5bb1 100644 --- a/I2CTeensy.cpp +++ b/I2CTeensy.cpp @@ -194,6 +194,16 @@ int CSerialPort::availableInt(uint8_t n) } } +int CSerialPort::availableForWriteInt(uint8_t n) +{ + switch (n) { + case 3U: + return Serial3.availableForWrite(); + default: + return false; + } +} + uint8_t CSerialPort::readInt(uint8_t n) { switch (n) {