mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-05-07 18:41:43 +03:00
Set Stream timeout to 0 in constructor
as the Stream input is packet based and buffered.
This commit is contained in:
parent
2a0a42a3fc
commit
b894e71202
@ -55,6 +55,8 @@ LoRaClass::LoRaClass() :
|
|||||||
_implicitHeaderMode(0),
|
_implicitHeaderMode(0),
|
||||||
_onReceive(NULL)
|
_onReceive(NULL)
|
||||||
{
|
{
|
||||||
|
// overide Stream timeout value
|
||||||
|
setTimeout(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int LoRaClass::begin(long frequency)
|
int LoRaClass::begin(long frequency)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user