[select] Store options in flash to reduce RAM usage (#11514)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-10-29 15:28:16 +13:00
1 parent a609343cb6
commit f3634edc22
15 files changed
+111 -40

No files matched your search

+6
View File
@@ -88,6 +88,12 @@ static void dump_field(std::string &out, const char *field_name, StringRef value
out.append("\n");
}
static void dump_field(std::string &out, const char *field_name, const char *value, int indent = 2) {
append_field_prefix(out, field_name, indent);
out.append("'").append(value).append("'");
out.append("\n");
}
template<typename T> static void dump_field(std::string &out, const char *field_name, T value, int indent = 2) {
append_field_prefix(out, field_name, indent);
out.append(proto_enum_to_string<T>(value));