Commit 609ad0b3 authored by Grégory JANISZEWSKI's avatar Grégory JANISZEWSKI

Fix missing link refresh in Manager.onTick() for new hybrid<->I/O links

parent df6b9ce0
......@@ -689,10 +689,13 @@ void Manager::onTick (void) {
link->sync (); // PHYSICAL VALUE -> HYBRID SENSOR
}
for (LinkAnalogSensorToAnalogInput * link : arrayRange (m_linksAnalogSensorToAnalogInput)) {
link->sync (); // SENSOR -> AIN
link->sync (); // ANALOG SENSOR -> AIN
}
for (LinkDigitalSensorToDigitalInput * link : arrayRange (m_linksDigitalSensorToDigitalInput)) {
link->sync (); // SENSOR -> DIN
link->sync (); // DIGITAL SENSOR -> DIN
}
for (LinkHybridSensorToDigitalInput * link : arrayRange (m_linksHybridSensorToDigitalInput)) {
link->sync (); // HYBRID SENSOR -> DIN
}
for (LinkDigitalOutputToDigitalActuator * link : arrayRange (m_linksDigitalOutputToDigitalActuator)) {
link->sync (); // DOUT -> DIGITAL ACTUATOR
......@@ -700,6 +703,9 @@ void Manager::onTick (void) {
for (LinkAnalogOutputToAnalogActuator * link : arrayRange (m_linksAnalogOutputToAnalogActuator)) {
link->sync (); // AOUT -> ANALOG ACTUATOR
}
for (LinkDigitalOutputToHybridActuator * link : arrayRange (m_linksDigitalOutputToHybridActuator)) {
link->sync (); // DOUT -> HYBRID ACTUATOR
}
for (LinkDigitalOutputToHybridActuator * link : arrayRange (m_linksDigitalOutputToHybridActuator)) {
link->sync (); // AOUT -> HYBRID ACTUATOR
}
......
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