Removed default stream

This commit is contained in:
Sara Damiano
2018-09-12 14:49:38 -04:00
parent 844d59aeab
commit 34104d18fe
10 changed files with 0 additions and 48 deletions

View File

@@ -177,11 +177,7 @@ private:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmA6(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmA6(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -201,11 +201,7 @@ public:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmBG96(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmBG96(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -193,11 +193,7 @@ public:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmESP8266(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmESP8266(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -174,11 +174,7 @@ private:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmM590(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmM590(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -181,11 +181,7 @@ private:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmM95(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmM95(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -208,11 +208,7 @@ public:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmMC60(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmMC60(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -223,11 +223,7 @@ public:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmSim800(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmSim800(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -200,11 +200,7 @@ public:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmUBLOX(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmUBLOX(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{
memset(sockets, 0, sizeof(sockets));

View File

@@ -206,11 +206,7 @@ public:
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmXBee(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmXBee(Stream& stream)
#endif
: TinyGsmModem(stream), stream(stream)
{}

View File

@@ -203,19 +203,7 @@ class TinyGsmModem
public:
class GsmClient : public Client
{
friend class TinyGsmModem;
};
public:
#ifdef GSM_DEFAULT_STREAM
TinyGsmModem(Stream& stream = GSM_DEFAULT_STREAM)
#else
TinyGsmModem(Stream& stream)
#endif
: stream(stream)
{}