You've already forked arduino-LoRa
mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-06-12 19:41:53 +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),
|
||||
_onReceive(NULL)
|
||||
{
|
||||
// overide Stream timeout value
|
||||
setTimeout(0);
|
||||
}
|
||||
|
||||
int LoRaClass::begin(long frequency)
|
||||
|
Reference in New Issue
Block a user