Skip to content

Commit

Permalink
Merge pull request #147 from Continuum-UWr/pr-polling
Browse files Browse the repository at this point in the history
Fix node polling mode in base driver
  • Loading branch information
hellantos committed Jun 19, 2023
2 parents 2c5be5f + 0d4143f commit 22170dd
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ void NodeCanopenBaseDriver<NODETYPE>::activate(bool called_from_base)
this->lely_driver_->set_sync_function(
std::bind(&NodeCanopenBaseDriver<NODETYPE>::poll_timer_callback, this));
}
// poll_timer_ = this->node_->create_wall_timer(
// std::chrono::milliseconds(period_ms_),
// std::bind(&NodeCanopenBaseDriver<NODETYPE>::poll_timer_callback, this), this->timer_cbg_);
this->lely_driver_->set_sync_function(
std::bind(&NodeCanopenBaseDriver<NODETYPE>::poll_timer_callback, this));

if (diagnostic_enabled_.load())
{
Expand Down

0 comments on commit 22170dd

Please sign in to comment.