From d48be760c0b41a55a4b3e418e82aef75d26c0a28 Mon Sep 17 00:00:00 2001 From: jas39 Date: Fri, 4 May 2018 21:22:33 -0500 Subject: [PATCH] Update protocol_esp32_lws_scan.c Consistent use of make constant throughout files #define CONFIG_LWS_IS_FACTORY_APPLICATION==1 --- plugins/protocol_esp32_lws_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/protocol_esp32_lws_scan.c b/plugins/protocol_esp32_lws_scan.c index ddcbec29..4dcc1b2a 100644 --- a/plugins/protocol_esp32_lws_scan.c +++ b/plugins/protocol_esp32_lws_scan.c @@ -215,7 +215,7 @@ static void reboot_timer_cb(TimerHandle_t t) static int 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) static struct lws_client_connect_info i; char path[256];