diff --git a/esphome/core/defines.h b/esphome/core/defines.h index 1e0df74eec..b73bad2685 100644 --- a/esphome/core/defines.h +++ b/esphome/core/defines.h @@ -95,10 +95,6 @@ #define USE_HTTP_REQUEST_ESP8266_HTTPS #define USE_SOCKET_IMPL_LWIP_TCP -#ifdef USE_LIBRETINY -#define USE_SOCKET_IMPL_LWIP_SOCKETS -#endif - // Dummy firmware payload for shelly_dimmer #define USE_SHD_FIRMWARE_MAJOR_VERSION 56 #define USE_SHD_FIRMWARE_MINOR_VERSION 5 @@ -112,11 +108,15 @@ #define USE_SOCKET_IMPL_LWIP_TCP #endif +#ifdef USE_LIBRETINY +#define USE_SOCKET_IMPL_LWIP_SOCKETS +#endif + #ifdef USE_HOST #define USE_SOCKET_IMPL_BSD_SOCKETS #endif // Disabled feature flags -//#define USE_BSEC // Requires a library with proprietary license. +// #define USE_BSEC // Requires a library with proprietary license. #define USE_DASHBOARD_IMPORT