Revert "chore(13e6): TEMP power-monitor telemetry headers"

This reverts commit d900083398.
This commit is contained in:
2026-05-15 20:28:22 -04:00
parent d900083398
commit 28b6a353aa
3 changed files with 1 additions and 46 deletions
+1 -8
View File
@@ -8,7 +8,6 @@ extern int g_prefs_putint_seq; // sequence position of last putInt call
struct Preferences {
std::map<std::string, int32_t> ints;
std::map<std::string, uint32_t> uints;
std::map<std::string, std::string> strings;
bool _open = false;
@@ -27,16 +26,10 @@ struct Preferences {
g_call_seq++;
}
uint32_t getUInt(const char* key, uint32_t def = 0) {
auto it = uints.find(key);
return it != uints.end() ? it->second : def;
}
void putUInt(const char* key, uint32_t val) { uints[key] = val; }
String getString(const char* key, const char* def = "") {
auto it = strings.find(key);
return it != strings.end() ? String(it->second) : String(def);
}
void putString(const char* key, const String& val) { strings[key] = val._s; }
void clear() { ints.clear(); uints.clear(); strings.clear(); }
void clear() { ints.clear(); strings.clear(); }
};