use more generic HardwareSerial
This commit is contained in:
parent
2aaf854ac2
commit
803f94fe63
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SerialReader",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Helper class for reading Serial input, without blocking",
|
||||
"repository":
|
||||
{
|
||||
|
||||
@ -11,7 +11,7 @@ public:
|
||||
return buffer;
|
||||
}
|
||||
|
||||
int readLine(SerialUART &serial) {
|
||||
int readLine(HardwareSerial &serial) {
|
||||
static int pos = 0;
|
||||
int rpos;
|
||||
int readCh;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user