sysclk: refinements to pwm dimming

This commit is contained in:
souldbminersmwc
2026-03-28 18:49:36 -04:00
parent 91c12b9128
commit ce99462081
3 changed files with 41 additions and 24 deletions

View File

@@ -652,6 +652,12 @@ protected:
}
if(IsAula()) {
addConfigToggle(HorizonOCConfigValue_PWMDimming, nullptr);
tsl::elm::CustomDrawer* sleepWakeInfo = new tsl::elm::CustomDrawer([](tsl::gfx::Renderer *renderer, s32 x, s32 y, s32 w, s32 h) {
renderer->drawString("\uE152 Changing this setting", false, x + 20, y + 30, 18, tsl::style::color::ColorText);
renderer->drawString("requires a sleep/wake or", false, x + 20, y + 50, 18, tsl::style::color::ColorText);
renderer->drawString("a reboot", false, x + 20, y + 70, 18, tsl::style::color::ColorText);
});
sleepWakeInfo->setBoundaries(0, 0, tsl::cfg::FramebufferWidth, 90);
}
}
};
@@ -676,7 +682,7 @@ protected:
ValueThresholds tdpThresholdsLite(6400, 7500);
addConfigButton(
HocClkConfigValue_LiteTDPLimit,
"TDP Threshold",
"TDP Threshold",e
ValueRange(4000, 8000, 100, "mW", 1),
"Power",
&tdpThresholdsLite,