File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 29
29
30
30
#define NINAFWVER \
31
31
" 1.7.7" /* !< min. nina-fw version compatible with this library. */
32
+ #define AIRLIFT_CONNECT_TIMEOUT_MS 20000 /* !< Connection timeout (in ms) */
33
+ #define AIRLIFT_CONNECT_RETRY_DELAY_MS 200 /* !< delay time between retries. */
32
34
33
35
#define SPIWIFI SPI /* !< Instance of SPI interface used by an AirLift. */
34
36
@@ -339,8 +341,8 @@ class Wippersnapper_AIRLIFT : public Wippersnapper {
339
341
int , // return type
340
342
lastResult, // return variable
341
343
[](int status) { return status == WL_CONNECTED; }, // check
342
- 20000 , // timeout interval (ms)
343
- 200 ); // interval between retries
344
+ AIRLIFT_CONNECT_TIMEOUT_MS, // timeout interval (ms)
345
+ AIRLIFT_CONNECT_RETRY_DELAY_MS); // interval between retries
344
346
345
347
if (lastResult == WL_CONNECTED) {
346
348
_status = WS_NET_CONNECTED;
You can’t perform that action at this time.
0 commit comments