From 2c9c484d60d095a3e1b316ea911772fb0b6b9359 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 31 Oct 2022 11:34:14 +0100 Subject: add hostname to esp commands --- stm32f091/setup.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stm32f091/setup.c') diff --git a/stm32f091/setup.c b/stm32f091/setup.c index 658e1bb..6fd0b73 100644 --- a/stm32f091/setup.c +++ b/stm32f091/setup.c @@ -101,6 +101,9 @@ void ws_io_setup() { #endif ws_esp8266_ap_client_mode(); +#ifdef WS_ESP8266_WLAN_HOSTNAME + ws_esp8266_set_hostname(); +#endif #ifdef WS_ESP8266_WLAN_MAC ws_esp8266_set_mac(); #endif -- cgit v1.2.3