[CI] Fix webserver defines to be present based on platform, not just framework (#7703)

This commit is contained in:
Jesse Hills 2024-10-31 11:37:54 +13:00 committed by GitHub
parent 5a2fed3569
commit 74ea1b60e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,8 +86,6 @@
#ifdef USE_ARDUINO
#define USE_CAPTIVE_PORTAL
#define USE_PROMETHEUS
#define USE_WEBSERVER
#define USE_WEBSERVER_PORT 80 // NOLINT
#define USE_WIFI_WPA2_EAP
#endif
@ -111,6 +109,8 @@
#define USE_SPEAKER
#define USE_SPI
#define USE_VOICE_ASSISTANT
#define USE_WEBSERVER
#define USE_WEBSERVER_PORT 80 // NOLINT
#define USE_WIFI_11KV_SUPPORT
#ifdef USE_ARDUINO
@ -147,6 +147,8 @@
#define USE_SHD_FIRMWARE_DATA \
{}
#define USE_WEBSERVER
#define USE_WEBSERVER_PORT 80 // NOLINT
#endif
#ifdef USE_RP2040
@ -158,6 +160,8 @@
#ifdef USE_LIBRETINY
#define USE_SOCKET_IMPL_LWIP_SOCKETS
#define USE_WEBSERVER
#define USE_WEBSERVER_PORT 80 // NOLINT
#endif
#ifdef USE_HOST