mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-30 02:37:14 +02:00
HardwareSerial - availableForWrite() support (#1226)
* HardwareSerial - availableForWrite() support * fix indentation errors (tab vs space)
This commit is contained in:
@ -62,6 +62,10 @@ int HardwareSerial::available(void)
|
||||
{
|
||||
return uartAvailable(_uart);
|
||||
}
|
||||
int HardwareSerial::availableForWrite(void)
|
||||
{
|
||||
return uartAvailableForWrite(_uart);
|
||||
}
|
||||
|
||||
int HardwareSerial::peek(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user