Skip to content

Commit 40fa4eb

Browse files
author
gojimmypi
committed
Assume unspecified boards are using standard WiFi library.
1 parent 638297a commit 40fa4eb

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Arduino/sketches/wolfssl_client/wolfssl_client.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ Tested with:
166166
#elif defined(OTHER_BOARD)
167167
*/
168168
#else
169+
/* assume all other boards using WiFi library. Edit as needed: */
170+
#include <WiFi.h>
169171
#define USING_WIFI
170172
WiFiClient client;
171-
172173
#endif
173174

174175
/* Only for syntax highlighters to show interesting options enabled: */

Arduino/sketches/wolfssl_server/wolfssl_server.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ Tested with:
166166
#elif defined(OTHER_BOARD)
167167
*/
168168
#else
169+
/* assume all other boards using WiFi library. Edit as needed: */
170+
#include <WiFi.h>
169171
#define USING_WIFI
170172
WiFiClient client;
171173
WiFiServer server(WOLFSSL_PORT);

0 commit comments

Comments
 (0)