simplify more

This commit is contained in:
J. Nick Koston
2025-12-13 09:01:39 -06:00
parent 6d91f1cd77
commit dce5face4e
14 changed files with 59 additions and 71 deletions
+2 -3
View File
@@ -19,7 +19,6 @@
#endif
#include "esphome/components/network/util.h"
#include "esphome/core/application.h"
#include "esphome/core/build_info.h"
#include "esphome/core/entity_base.h"
#include "esphome/core/hal.h"
#include "esphome/core/log.h"
@@ -1474,8 +1473,8 @@ bool APIConnection::send_device_info_response(const DeviceInfoRequest &msg) {
resp.set_esphome_version(ESPHOME_VERSION_REF);
// Stack buffer for build time string
char build_time_str[BUILD_TIME_STR_SIZE];
get_build_time_string(build_time_str);
char build_time_str[App.BUILD_TIME_STR_SIZE];
App.get_build_time_string(build_time_str);
resp.set_compilation_time(StringRef(build_time_str));
// Manufacturer string - define once, handle ESP8266 PROGMEM separately