Commit 31b2db39 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Fix constructor of CanOpenProtocolManager

parent fc0478f2
......@@ -43,7 +43,7 @@ void CanOpen::onComponentCompleted (void) {
void CanOpen::init (void) {
if (m_nodeId > 0 && m_nodeId < 128) {
m_canOpenMan = new CanOpenProtocolManager (false, this);
m_canOpenMan = new CanOpenProtocolManager (false, false, this);
m_canOpenMan->setLocalNodeId (CanOpenNodeId (m_nodeId));
m_canOpenMan->setLocalNetworkPosition (m_isMaster ? CanOpenNetPosition::Master : CanOpenNetPosition::Slave);
if (!m_obdUrl.isEmpty ()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment