update IP core handler
This commit is contained in:
parent
a13687a7dc
commit
120e50299b
@ -76,7 +76,7 @@ ReturnValue_t CcsdsIpCoreHandler::initialize() {
|
|||||||
|
|
||||||
// This also pulls the PTME out of reset state.
|
// This also pulls the PTME out of reset state.
|
||||||
updateBatPriorityFromParam();
|
updateBatPriorityFromParam();
|
||||||
ptmeConfig.setAllPollThreshold(
|
ptmeConfig.setAllPollThresholds(
|
||||||
static_cast<AxiPtmeConfig::IdlePollThreshold>(params.pollThresholdParam));
|
static_cast<AxiPtmeConfig::IdlePollThreshold>(params.pollThresholdParam));
|
||||||
resetPtme();
|
resetPtme();
|
||||||
ptmeLocked = false;
|
ptmeLocked = false;
|
||||||
@ -322,7 +322,7 @@ void CcsdsIpCoreHandler::performPtmeUpdateWhenApplicable() {
|
|||||||
doResetPtme = true;
|
doResetPtme = true;
|
||||||
}
|
}
|
||||||
if (updateContext.updatePollThreshold) {
|
if (updateContext.updatePollThreshold) {
|
||||||
ptmeConfig.setAllPollThreshold(
|
ptmeConfig.setAllPollThresholds(
|
||||||
static_cast<AxiPtmeConfig::IdlePollThreshold>(params.pollThresholdParam));
|
static_cast<AxiPtmeConfig::IdlePollThreshold>(params.pollThresholdParam));
|
||||||
updateContext.updatePollThreshold = false;
|
updateContext.updatePollThreshold = false;
|
||||||
doResetPtme = true;
|
doResetPtme = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user