mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-14 15:54:11 +02:00
Merge pull request #184 from Hootie81/VK6MST_Shield
Add support VK6MST_Shield Serial pass-thru
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user