remove double lock #554

Merged
muellerr merged 1 commits from bugfix_axi_ptme_lock into develop 2023-04-03 15:30:37 +02:00

View File

@ -76,7 +76,6 @@ uint32_t AxiPtmeConfig::readReg(uint32_t regOffset) {
}
void AxiPtmeConfig::writePollThreshold(AxiPtmeConfig::IdlePollThreshold pollThreshold) {
MutexGuard mg(mutex, timeoutType, mutexTimeout);
uint32_t regVal = readCommonCfgReg();
// Clear bits first
regVal &= ~(0b111 << 3);