Merge pull request #184 from Hootie81/VK6MST_Shield

Add support VK6MST_Shield Serial pass-thru
This commit is contained in:
Jonathan Naylor 2018-07-20 12:17:01 +01:00 committed by GitHub
commit db3649827f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) uint8_t CSerialPort::readInt(uint8_t n)
{ {
switch (n) { switch (n) {