Read_no_check fix

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-02-17 15:18:12 -05:00
parent a483b288b6
commit c0aac58267

View File

@@ -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(); }