1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00

[dashboard_import] Store package import URL in .rodata instead of RAM (#11951)

This commit is contained in:
J. Nick Koston
2025-11-17 20:02:16 -06:00
committed by GitHub
parent 0923bcd2ca
commit 0d6c9623ce
3 changed files with 6 additions and 9 deletions

View File

@@ -1,12 +1,10 @@
#pragma once
#include <string>
namespace esphome {
namespace dashboard_import {
const std::string &get_package_import_url();
void set_package_import_url(std::string url);
const char *get_package_import_url();
void set_package_import_url(const char *url);
} // namespace dashboard_import
} // namespace esphome