1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Update protocol_esp32_lws_scan.c

Consistent use of make constant throughout files
#define CONFIG_LWS_IS_FACTORY_APPLICATION==1
This commit is contained in:
jas39 2018-05-04 21:22:33 -05:00 committed by Andy Green
parent 57f7f54555
commit d48be760c0

View file

@ -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];