sysclk: add kip editing flag

for those who don't want this feature. it's on by default
This commit is contained in:
souldbminersmwc
2025-12-14 10:14:41 -05:00
parent 03154f86b8
commit bb7f0c8f5f
3 changed files with 19 additions and 3 deletions

View File

@@ -79,7 +79,9 @@ ClockManager::ClockManager()
this->lastCsvWriteNs = 0;
this->rnxSync = new ReverseNXSync;
this->GetKipData();
if(this->config->GetConfigValue(HocClkConfigValue_KipEditing))
this->GetKipData();
}
ClockManager::~ClockManager()
@@ -587,6 +589,8 @@ void ClockManager::SetKipData() {
}
}
// I know this is very hacky, but the config system in the sysmodule doesn't really support writing
void ClockManager::GetKipData() {
std::scoped_lock lock{this->contextMutex};