Changes for beta4 - use EthernetClient not Client

This commit is contained in:
Nicholas O'Leary 2011-09-12 09:28:06 +01:00
parent 4ad0d5f4ac
commit e4fdabf4db
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
*/
#include "PubSubClient.h"
#include "Client.h"
#include "EthernetClient.h"
#include "string.h"
PubSubClient::PubSubClient() : _client() {

View File

@ -8,7 +8,7 @@
#define PubSubClient_h
#include "Ethernet.h"
#include "Client.h"
#include "EthernetClient.h"
#define MAX_PACKET_SIZE 128
#define KEEPALIVE 15000 // max value = 255000
@ -33,7 +33,7 @@
class PubSubClient {
private:
Client _client;
EthernetClient _client;
uint8_t buffer[MAX_PACKET_SIZE];
uint8_t nextMsgId;
long lastOutActivity;