Skip to content

Commit 23b487d

Browse files
committed
Improve comments
1 parent 44ec4a0 commit 23b487d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/EthernetServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ EthernetClient EthernetServer::available()
4646
chip = W5100.getChip();
4747
if (!chip) return EthernetClient(MAX_SOCK_NUM);
4848
#if MAX_SOCK_NUM > 4
49-
if (chip == 51 || chip == 50) maxindex = 4; // W5100 chip never supports more than 4 sockets
49+
if (chip == 51 || chip == 50) maxindex = 4; // W5100+W5100S chips never support more than 4 sockets
5050
#endif
5151
for (uint8_t i=0; i < maxindex; i++) {
5252
if (server_port[i] == _port) {

src/utility/w5100.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ uint8_t W5100Class::init(void)
182182
writeTMSR(0x55);
183183
writeRMSR(0x55);
184184
#endif
185-
// Try W5100 last. This simple chip uses fixed 4 byte frames
185+
// Try W5100. This simple chip uses fixed 4 byte frames
186186
// for every 8 bit access. Terribly inefficient, but so simple
187187
// it recovers from "hearing" unsuccessful W5100 or W5200
188188
// communication. W5100 is also the only chip without a VERSIONR

0 commit comments

Comments
 (0)