use more generic HardwareSerial

This commit is contained in:
Nicu Hodos 2023-01-20 03:26:40 +01:00
parent 2aaf854ac2
commit 803f94fe63
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "SerialReader",
"version": "1.0.0",
"version": "1.0.1",
"description": "Helper class for reading Serial input, without blocking",
"repository":
{

View File

@ -11,7 +11,7 @@ public:
return buffer;
}
int readLine(SerialUART &serial) {
int readLine(HardwareSerial &serial) {
static int pos = 0;
int rpos;
int readCh;