Allow serial data to be sent back to the host.

This commit is contained in:
Jonathan Naylor 2020-11-13 12:09:10 +00:00
parent 3503e0cc2a
commit c5b542f438
6 changed files with 55 additions and 12 deletions

View file

@ -43,7 +43,7 @@ void CSerialPort::beginInt(uint8_t n, int speed)
}
}
int CSerialPort::availableInt(uint8_t n)
int CSerialPort::availableForReadInt(uint8_t n)
{
switch (n) {
case 1U: