Skip to content
Snippets Groups Projects
Commit d48be760 authored by jas39's avatar jas39 Committed by Andy Green
Browse files

Update protocol_esp32_lws_scan.c

Consistent use of make constant throughout files
#define CONFIG_LWS_IS_FACTORY_APPLICATION==1
parent 57f7f545
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,7 @@ static void reboot_timer_cb(TimerHandle_t t) ...@@ -215,7 +215,7 @@ static void reboot_timer_cb(TimerHandle_t t)
static int static int
client_connection(struct per_vhost_data__esplws_scan *vhd, const char *file) client_connection(struct per_vhost_data__esplws_scan *vhd, const char *file)
{ {
#if CONFIG_LWS_IS_FACTORY_APPLICATION == 'y' && defined(CONFIG_LWS_OTA_SERVER_BASE_URL) && \ #if defined(CONFIG_LWS_IS_FACTORY_APPLICATION) && defined(CONFIG_LWS_OTA_SERVER_BASE_URL) && \
defined(CONFIG_LWS_OTA_SERVER_FQDN) defined(CONFIG_LWS_OTA_SERVER_FQDN)
static struct lws_client_connect_info i; static struct lws_client_connect_info i;
char path[256]; char path[256];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment