Read_no_check fix
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -129,7 +129,7 @@ class TinyGsmTCP {
|
|||||||
if (!rx.size() && sock_connected) { at->maintain(); }
|
if (!rx.size() && sock_connected) { at->maintain(); }
|
||||||
return rx.size();
|
return rx.size();
|
||||||
|
|
||||||
#elif defined TINY_GSM_NO_MODEM_BUFFER
|
#elif defined TINY_GSM_BUFFER_READ_NO_CHECK
|
||||||
// Returns the combined number of characters available in the TinyGSM
|
// Returns the combined number of characters available in the TinyGSM
|
||||||
// fifo and the modem chips internal fifo.
|
// fifo and the modem chips internal fifo.
|
||||||
if (!rx.size()) { at->maintain(); }
|
if (!rx.size()) { at->maintain(); }
|
||||||
|
Reference in New Issue
Block a user