remove double lock
Some checks are pending
EIVE/eive-obsw/pipeline/head Build queued...
EIVE/eive-obsw/pipeline/pr-develop Build queued...

This commit is contained in:
Robin Müller 2023-04-03 15:29:18 +02:00
parent 800ab7e87f
commit 1b2dd12e61
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

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);