Set Stream timeout to 0 in constructor
as the Stream input is packet based and buffered.mkr-wan-1300
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…
Reference in New Issue