From b894e71202d59e1d54c4c08823dc3e9424369a36 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Sun, 28 May 2017 18:09:44 -0400 Subject: [PATCH] Set Stream timeout to 0 in constructor as the Stream input is packet based and buffered. --- src/LoRa.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LoRa.cpp b/src/LoRa.cpp index 166700a..6979823 100644 --- a/src/LoRa.cpp +++ b/src/LoRa.cpp @@ -55,6 +55,8 @@ LoRaClass::LoRaClass() : _implicitHeaderMode(0), _onReceive(NULL) { + // overide Stream timeout value + setTimeout(0); } int LoRaClass::begin(long frequency)