Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
cd238bef
Commit
cd238bef
authored
Feb 21, 2019
by
Alessio Netti
Browse files
Tester Plugin Bugfix
- Cache interval was previously not correctly set
parent
766eafbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sensors/tester/TesterConfigurator.cpp
View file @
cd238bef
...
...
@@ -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
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment