Skip to content

Commit e4fdabf

Browse files
committed
Changes for beta4 - use EthernetClient not Client
1 parent 4ad0d5f commit e4fdabf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PubSubClient/PubSubClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
#include "PubSubClient.h"
8-
#include "Client.h"
8+
#include "EthernetClient.h"
99
#include "string.h"
1010

1111
PubSubClient::PubSubClient() : _client() {

PubSubClient/PubSubClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define PubSubClient_h
99

1010
#include "Ethernet.h"
11-
#include "Client.h"
11+
#include "EthernetClient.h"
1212

1313
#define MAX_PACKET_SIZE 128
1414
#define KEEPALIVE 15000 // max value = 255000
@@ -33,7 +33,7 @@
3333

3434
class PubSubClient {
3535
private:
36-
Client _client;
36+
EthernetClient _client;
3737
uint8_t buffer[MAX_PACKET_SIZE];
3838
uint8_t nextMsgId;
3939
long lastOutActivity;

0 commit comments

Comments
 (0)