remove real temp decimals

This commit is contained in:
souldbminersmwc
2026-04-03 19:29:57 -04:00
parent 5816d49f68
commit fa7313c495
4 changed files with 6 additions and 62 deletions

View File

@@ -1287,7 +1287,6 @@ struct MiniSettings {
bool realFrequencies;
bool realVolts;
bool realTemps;
bool realTempsDec;
bool showFullCPU;
bool showFullResolution;
bool showFanPercentage;
@@ -1324,7 +1323,6 @@ struct MicroSettings {
bool realFrequencies;
bool realVolts;
bool realTemps;
bool realTempsDec;
bool showFullCPU;
bool showFullResolution;
bool showSOCVoltage;
@@ -1409,7 +1407,6 @@ ALWAYS_INLINE void GetConfigSettings(MiniSettings* settings) {
settings->realFrequencies = true;
settings->realVolts = true;
settings->realTemps = true;
settings->realTempsDec = false;
settings->showFullCPU = false;
settings->showFullResolution = true;
settings->showFanPercentage = true;
@@ -1494,13 +1491,6 @@ ALWAYS_INLINE void GetConfigSettings(MiniSettings* settings) {
settings->realTemps = (key == "TRUE");
}
it = section.find("real_temps_dec");
if (it != section.end()) {
key = it->second;
convertToUpper(key);
settings->realTempsDec = !(key == "FALSE");
}
// Process font sizes with shared bounds
static constexpr long minFontSize = 8;
static constexpr long maxFontSize = 22;
@@ -1717,7 +1707,6 @@ ALWAYS_INLINE void GetConfigSettings(MicroSettings* settings) {
settings->realFrequencies = true;
settings->realVolts = true;
settings->realTemps = true;
settings->realTempsDec = false;
settings->showFullCPU = false;
settings->showFullResolution = false;
settings->showSOCVoltage = true;
@@ -1795,13 +1784,6 @@ ALWAYS_INLINE void GetConfigSettings(MicroSettings* settings) {
settings->realTemps = (key == "TRUE");
}
it = section.find("real_temps_dec");
if (it != section.end()) {
key = it->second;
convertToUpper(key);
settings->realTempsDec = !(key == "FALSE");
}
it = section.find("show_full_cpu");
if (it != section.end()) {
key = it->second;