1
0
mirror of https://github.com/sandeepmistry/arduino-LoRa.git synced 2025-05-06 07:39:14 +03:00

Set Stream timeout to 0 in constructor

as the Stream input is packet based and buffered.
This commit is contained in:
Sandeep Mistry 2017-05-28 18:09:44 -04:00
parent 2a0a42a3fc
commit b894e71202

@ -55,6 +55,8 @@ LoRaClass::LoRaClass() :
_implicitHeaderMode(0),
_onReceive(NULL)
{
// overide Stream timeout value
setTimeout(0);
}
int LoRaClass::begin(long frequency)