diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-27 17:42:54 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-27 17:42:54 +0200 |
commit | dd1d0cf34a44f70793dcb52fd9ef90d9274b55d1 (patch) | |
tree | a88d6a1161c4a14aa7387a976bdd1833f029f077 /stm32f091/setup.c | |
parent | 12704850c9f4cf7410ecf85116da9d23fc2ce6d6 (diff) |
move esp setup to setup.c
Diffstat (limited to 'stm32f091/setup.c')
-rw-r--r-- | stm32f091/setup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/stm32f091/setup.c b/stm32f091/setup.c index 9ed4174..2175ab3 100644 --- a/stm32f091/setup.c +++ b/stm32f091/setup.c @@ -91,6 +91,16 @@ void ws_io_setup() { }); ws_backlog_alloc(24 * 60); + +#ifdef WS_ESP8266_WLAN_MAC + ws_esp8266_set_mac(); +#endif +#ifdef WS_ESP8266_WLAN_IP + ws_esp8266_set_ip(); +#endif + ws_esp8266_ap_client_mode(); + ws_esp8266_connect(); + ws_esp8266_start_tcp_server(); } static void ws_io_clock_setup() { |