We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0565c78 commit 00c9caaCopy full SHA for 00c9caa
src/WiFiClient.cpp
@@ -125,7 +125,7 @@ size_t WiFiClient::write(uint8_t b) {
125
}
126
127
size_t WiFiClient::write(const uint8_t *buf, size_t size) {
128
- if (_sock >= MAX_SOCK_NUM)
+ if (_sock >= WIFI_MAX_SOCK_NUM)
129
{
130
setWriteError();
131
return 0;
src/utility/wl_definitions.h
@@ -40,7 +40,7 @@
40
// Maximum size of a SSID list
41
#define WL_NETWORKS_LIST_MAXNUM 10
42
// Maxmium number of socket
43
-#define MAX_SOCK_NUM 4
+#define WIFI_MAX_SOCK_NUM 4
44
// Socket not available constant
45
#define SOCK_NOT_AVAIL 255
46
// Default state value for Wifi state field
0 commit comments