diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-25 15:54:24 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-25 15:54:24 +0200 |
commit | 6df58f546db68047fe38f3809ee4f6cbff4c6f89 (patch) | |
tree | 8964f9bdc736e301dad7c11b24c03b2891e3916f /main/config.def.h | |
parent | 42b3b8abd73d0f38efd607fc9dfcf768341549a1 (diff) |
clean up init
Diffstat (limited to 'main/config.def.h')
-rw-r--r-- | main/config.def.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/config.def.h b/main/config.def.h index 48de559..376c58a 100644 --- a/main/config.def.h +++ b/main/config.def.h @@ -1,8 +1,14 @@ #pragma once +#include <pico/cyw43_arch.h> +// wifi credentials #define CONF_NET_SSID "network name" #define CONF_NET_PASS "network password" +// max duration (milliseconds) for establishing wifi connection +#define CONF_NET_CONN_TIMEOUT 10000 -#include "cyw43_country.h" +#include <cyw43_country.h> #define CONF_NET_COUNTRY CYW43_COUNTRY_NETHERLANDS +#define LED_PIN CYW43_WL_GPIO_LED_PIN + |