Merge branch 'socket_latency' into socket_latency_loop_runtime_stats

This commit is contained in:
J. Nick Koston
2025-05-27 15:09:57 -05:00
2 changed files with 2 additions and 5 deletions

View File

@@ -35,5 +35,7 @@ async def to_code(config):
cg.add_define("USE_SOCKET_IMPL_LWIP_TCP")
elif impl == IMPLEMENTATION_LWIP_SOCKETS:
cg.add_define("USE_SOCKET_IMPL_LWIP_SOCKETS")
cg.add_define("USE_SOCKET_SELECT_SUPPORT")
elif impl == IMPLEMENTATION_BSD_SOCKETS:
cg.add_define("USE_SOCKET_IMPL_BSD_SOCKETS")
cg.add_define("USE_SOCKET_SELECT_SUPPORT")

View File

@@ -7,11 +7,6 @@
#include "esphome/core/macros.h"
// Define a shorter macro for socket select support
#if defined(USE_SOCKET_IMPL_LWIP_SOCKETS) || defined(USE_SOCKET_IMPL_BSD_SOCKETS)
#define USE_SOCKET_SELECT_SUPPORT
#endif
// Informative flags
#define ESPHOME_BOARD "dummy_board"
#define ESPHOME_PROJECT_NAME "dummy project"