Add support VK6MST_Shield Serial pass-thru

This commit is contained in:
Hootie81 2018-07-20 21:00:09 +10:00
parent 110062bf65
commit 5bec0d0780
1 changed files with 10 additions and 0 deletions

View File

@ -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) {