From 1f640f0874ea7ffd322d741d50862192419030a0 Mon Sep 17 00:00:00 2001 From: msp Date: Sun, 23 Oct 2022 12:26:55 -0400 Subject: [PATCH] separate out local include file; this will now be "git ignored" so I can set it to my local SSID etc --- main/espd.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/main/espd.h b/main/espd.h index 787c2bc..e7f31e7 100644 --- a/main/espd.h +++ b/main/espd.h @@ -5,12 +5,10 @@ /* task priorities */ #define PRIORITY_WIFI 2 -#if !defined(CONFIG_LOCALE_NUMBER) || (CONFIG_LOCALE_NUMBER==0) -#define CONFIG_ESP_WIFI_SSID "network" -#define CONFIG_ESP_WIFI_PASSWORD "password" -#define CONFIG_ESP_WIFI_SENDADDR "192.168.1.153" -#define CONFIG_ESP_WIFI_SENDPORT 4498 -#define CONFIG_ESP_WIFI_LISTENPORT 4499 +#if defined(CONFIG_LOCALE_FILE) +#include CONFIG_LOCALE_FILE +#else +#include "locale.h" #endif #include