mirror of
https://github.com/esphome/esphome.git
synced 2025-09-17 10:42:21 +01:00
[api] Optimize HelloResponse server_info to reduce memory usage
This commit is contained in:
@@ -42,7 +42,6 @@ static constexpr uint8_t MAX_PING_RETRIES = 60;
|
||||
static constexpr uint16_t PING_RETRY_INTERVAL = 1000;
|
||||
static constexpr uint32_t KEEPALIVE_DISCONNECT_TIMEOUT = (KEEPALIVE_TIMEOUT_MS * 5) / 2;
|
||||
|
||||
// Compile-time StringRef constant for ESPHome version
|
||||
static constexpr auto ESPHOME_VERSION_REF = StringRef::from_lit(ESPHOME_VERSION);
|
||||
|
||||
static const char *const TAG = "api.connection";
|
||||
|
Reference in New Issue
Block a user