This commit is contained in:
Jonathan Swoboda
2026-02-23 16:36:33 -05:00
parent f21c69850c
commit e3aa732244
2 changed files with 3 additions and 3 deletions
@@ -152,7 +152,7 @@ void Esp32HostedUpdate::setup() {
void Esp32HostedUpdate::dump_config() {
ESP_LOGCONFIG(TAG,
"ESP32 Hostedd Update:\n"
"ESP32 Hosted Update:\n"
" Host Library Version: %s\n"
" Coprocessor Version: %s\n"
" Latest Version: %s",
+2 -2
View File
@@ -750,8 +750,8 @@ void Application::get_build_time_string(std::span<char, BUILD_TIME_STR_SIZE> buf
}
void Application::get_comment_string(std::span<char, ESPHOME_COMMENT_SIZE_MAX> buffer) {
ESPHOME_strncpy_P(buffer.data(), ESPHOME_COMMENT_STR, buffer.size());
buffer[buffer.size() - 1] = '\0';
ESPHOME_strncpy_P(buffer.data(), ESPHOME_COMMENT_STR, ESPHOME_COMMENT_SIZE);
buffer[ESPHOME_COMMENT_SIZE - 1] = '\0';
}
uint32_t Application::get_config_hash() { return ESPHOME_CONFIG_HASH; }