1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Fixing Client and capitalizing header file names.

The switch from checking _sock against a default value, combined with the checking for unconnected clients in status(), broke the Client.  I went back to checking the value of _sock against the default and removed the _connected member altogether because it was redundant (and therefore needed to be kept in sync with _sock).
This commit is contained in:
David A. Mellis
2010-08-03 13:36:47 +00:00
parent eb47701c9f
commit a642f0a15d
4 changed files with 33 additions and 33 deletions

View File

@ -1,5 +1,5 @@
#include "w5100.h"
#include "ethernet.h"
#include "Ethernet.h"
// XXX: don't make assumptions about the value of MAX_SOCK_NUM.
uint8_t EthernetClass::_state[MAX_SOCK_NUM] = {