hocmon: fix vdd2/vddq flip and full/mini mode
This commit is contained in:
@@ -432,13 +432,13 @@ public:
|
||||
});
|
||||
list->addItem(showFullCPU);
|
||||
|
||||
auto* showVDDQ = new tsl::elm::ToggleListItem("VDD2", getCurrentShowVDDQ());
|
||||
auto* showVDDQ = new tsl::elm::ToggleListItem("VDDQ", getCurrentShowVDDQ());
|
||||
showVDDQ->setStateChangedListener([this, section](bool state) {
|
||||
ult::setIniFileValue(configIniPath, section, "show_vddq", state ? "true" : "false");
|
||||
});
|
||||
list->addItem(showVDDQ);
|
||||
|
||||
auto* showVDD2 = new tsl::elm::ToggleListItem("VDDQ", getCurrentShowVDD2());
|
||||
auto* showVDD2 = new tsl::elm::ToggleListItem("VDD2", getCurrentShowVDD2());
|
||||
showVDD2->setStateChangedListener([this, section](bool state) {
|
||||
ult::setIniFileValue(configIniPath, section, "show_vdd2", state ? "true" : "false");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user