From c0aac58267a78637cd4bfcde75a8ffbd19b1572d Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Mon, 17 Feb 2020 15:18:12 -0500 Subject: [PATCH] Read_no_check fix Signed-off-by: Sara Damiano --- src/TinyGsmTCP.tpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyGsmTCP.tpp b/src/TinyGsmTCP.tpp index a66fb7f..4d9ab73 100644 --- a/src/TinyGsmTCP.tpp +++ b/src/TinyGsmTCP.tpp @@ -129,7 +129,7 @@ class TinyGsmTCP { if (!rx.size() && sock_connected) { at->maintain(); } 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 // fifo and the modem chips internal fifo. if (!rx.size()) { at->maintain(); }