mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Move `USE_CAPTIVE_PORTAL
` into all define groups it can be used with (#7863)
This commit is contained in:
parent
e3d673d16c
commit
921be1a17c
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,6 @@
|
|||
|
||||
// Arduino-specific feature flags
|
||||
#ifdef USE_ARDUINO
|
||||
#define USE_CAPTIVE_PORTAL
|
||||
#define USE_PROMETHEUS
|
||||
#define USE_WIFI_WPA2_EAP
|
||||
#endif
|
||||
|
@ -97,6 +96,7 @@
|
|||
// ESP32-specific feature flags
|
||||
#ifdef USE_ESP32
|
||||
#define USE_BLUETOOTH_PROXY
|
||||
#define USE_CAPTIVE_PORTAL
|
||||
#define USE_ESP32_BLE
|
||||
#define USE_ESP32_BLE_CLIENT
|
||||
#define USE_ESP32_BLE_SERVER
|
||||
|
@ -135,6 +135,7 @@
|
|||
#ifdef USE_ESP8266
|
||||
#define USE_ADC_SENSOR_VCC
|
||||
#define USE_ARDUINO_VERSION_CODE VERSION_CODE(3, 1, 2)
|
||||
#define USE_CAPTIVE_PORTAL
|
||||
#define USE_ESP8266_PREFERENCES_FLASH
|
||||
#define USE_HTTP_REQUEST_ESP8266_HTTPS
|
||||
#define USE_SOCKET_IMPL_LWIP_TCP
|
||||
|
@ -159,6 +160,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef USE_LIBRETINY
|
||||
#define USE_CAPTIVE_PORTAL
|
||||
#define USE_SOCKET_IMPL_LWIP_SOCKETS
|
||||
#define USE_WEBSERVER
|
||||
#define USE_WEBSERVER_PORT 80 // NOLINT
|
||||
|
|
Loading…
Reference in a new issue