From aa1f25fc7292bce7240a190f844a20258973fcaf Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sun, 9 Jul 2023 12:04:40 +0200 Subject: [PATCH] Set WIFI_FORCE_AP default as false --- GITHUB_SHA.h | 2 +- defines.h | 9 +++++++++ version.h | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 5ec114e..e226e4a 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202307080654Z" +#define GITHUB_SHA "devel-202307091003Z" diff --git a/defines.h b/defines.h index f40ed2f..f3822ca 100644 --- a/defines.h +++ b/defines.h @@ -182,6 +182,15 @@ #define WIFI_ON false #endif +#ifndef WIFI_FORCE_AP + #define WIFI_FORCE_AP false +#else + #if WIFI_FORCE_AP==true || WIFI_FORCE_AP==false + #else + #error WIFI_FORCE_AP needs to be true or false + #endif +#endif + #if ENABLE_ETHERNET #if defined(HAS_ENOUGH_MEMORY) #define ETHERNET_ON true diff --git a/version.h b/version.h index 7f6bdc7..f1f1ca5 100644 --- a/version.h +++ b/version.h @@ -3,8 +3,8 @@ #include "StringFormatter.h" -#define VERSION "4.2.64" -// 4.2.64 - new config WIFI_FORCE_AP option +#define VERSION "4.2.65" +// 4.2.65 - new config WIFI_FORCE_AP option // 4.2.63 - completely new overcurrent detection // - ESP32 protect from race in RMT code // 4.2.62 - Update IO_RotaryEncoder.h to ignore sending current position