Commit cd238bef authored by Alessio Netti's avatar Alessio Netti

Tester Plugin Bugfix

- Cache interval was previously not correctly set
parent 766eafbc
......@@ -33,6 +33,7 @@ void TesterConfigurator::sensorGroup(TesterSensorGroup& s, CFG_VAL config) {
for(unsigned int i=0;i < s.getNumSensors();i++) {
std::shared_ptr<TesterSensorBase> sensor = std::make_shared<TesterSensorBase>(s.getGroupName() + std::to_string(i));
sensor->setMqtt(increaseMqtt(s.getMqttStart(), i));
sensor->setCacheInterval(_cacheInterval);
s.pushBackSensor(sensor);
}
}
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