Skip to content

Commit acdca3a

Browse files
committed
Removing functions no longer necessary because we could update Arduino Create to the latest version of ESP8266 core (and not being stuck with that 2.5.0 version any longer
1 parent 4f855f2 commit acdca3a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/MqttClient.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ class MqttClient : public Client {
6767
// from Client
6868
virtual int connect(IPAddress ip, uint16_t port = 1883);
6969
virtual int connect(const char *host, uint16_t port = 1883);
70-
#ifdef ESP8266
71-
virtual int connect(const IPAddress& ip, uint16_t port) { return 0; }; /* ESP8266 core defines this pure virtual in Client.h */
72-
#endif
7370
virtual size_t write(uint8_t);
7471
virtual size_t write(const uint8_t *buf, size_t size);
7572
virtual int available();
@@ -94,10 +91,6 @@ class MqttClient : public Client {
9491

9592
int connectError() const;
9693
int subscribeQoS() const;
97-
#ifdef ESP8266
98-
virtual bool flush(unsigned int /*maxWaitMs*/) { flush(); return true; } /* ESP8266 core defines this pure virtual in Client.h */
99-
virtual bool stop(unsigned int /*maxWaitMs*/) { stop(); return true; } /* ESP8266 core defines this pure virtual in Client.h */
100-
#endif
10194

10295
private:
10396
int connect(IPAddress ip, const char* host, uint16_t port);

0 commit comments

Comments
 (0)