You've already forked arduino-LoRa
mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-07-03 08:22:32 +03:00
Set Stream timeout to 0 in constructor
as the Stream input is packet based and buffered.
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user