mirror of https://github.com/g4klx/MMDVM.git
Add support VK6MST_Shield Serial pass-thru
This commit is contained in:
parent
110062bf65
commit
5bec0d0780
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue