Skip to content

Commit

Permalink
Remove now-unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Sep 11, 2024
1 parent 31795ab commit e6aa6a0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main/native/include/rev/Drivers/DriverDeviceThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ class DriverDeviceThread {
}
}

detail::CANThreadSendQueueElement* findFirstMatchingId(int targetId) {
for (auto& element : m_sendQueue) {
if (element.m_msg.GetMessageId() == targetId) {
return &element;
}
}
return nullptr; // If no matching element found
}

detail::CANThreadSendQueueElement* findFirstMatchingIdWithNonZeroInterval(int targetId) {
for (auto& element : m_sendQueue) {
if (element.m_msg.GetMessageId() == targetId && element.m_intervalMs > 0) {
Expand Down

0 comments on commit e6aa6a0

Please sign in to comment.