Skip to content

Commit

Permalink
Fixed downlink bug
Browse files Browse the repository at this point in the history
  • Loading branch information
timcanham committed Nov 13, 2024
1 parent e1bc0e3 commit 2fae6ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Svc/DpCatalog/DpCatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,13 @@ namespace Svc {
} else {
// Step 4 - if the current node is null, pop back up the stack
this->m_currentNode = this->m_traverseStack[this->m_currStackEntry--];
found = this->m_currentNode;
if (this->m_currentNode->entry.record.getstate() != Fw::DpState::TRANSMITTED) {
found = this->m_currentNode;
}// check if transmitted
this->m_currentNode = this->m_currentNode->right;
return found;
if (found != nullptr) {
return found;
}
}
break;
} else {
Expand Down

0 comments on commit 2fae6ec

Please sign in to comment.