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) {
|
void AxiPtmeConfig::writePollThreshold(AxiPtmeConfig::IdlePollThreshold pollThreshold) {
|
||||||
MutexGuard mg(mutex, timeoutType, mutexTimeout);
|
|
||||||
uint32_t regVal = readCommonCfgReg();
|
uint32_t regVal = readCommonCfgReg();
|
||||||
// Clear bits first
|
// Clear bits first
|
||||||
regVal &= ~(0b111 << 3);
|
regVal &= ~(0b111 << 3);
|
||||||
|
Loading…
Reference in New Issue
Block a user