Merge pull request 'remove double lock' (#554) from bugfix_axi_ptme_lock into develop
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
Reviewed-on: #554
This commit is contained in:
commit
73e2508025
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user