summaryrefslogtreecommitdiffstats
path: root/examples/hvac
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-12 16:20:00 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 14:40:41 +0100
commit7ea53d8a89912cd0ab00fa4c0957f40ee6c9db8a (patch)
tree6f436c61fc9f8d696a3f25215abc5b9e052459da /examples/hvac
parent9cc8fe590162ec91000f1d81dbfd888616afc6ab (diff)
examples: updates
Bug-AGL: SPEC-2988 Change-Id: I9c71038690d301e513f736a3405c3367f64fdbda Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'examples/hvac')
-rw-r--r--examples/hvac/application-generated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hvac/application-generated.cpp b/examples/hvac/application-generated.cpp
index a716654e..0086abb5 100644
--- a/examples/hvac/application-generated.cpp
+++ b/examples/hvac/application-generated.cpp
@@ -7,7 +7,7 @@ application_t::application_t()
, message_set_{
{std::make_shared<message_set_t>(message_set_t{0,"example",
{ // beginning message_definition_ vector
- {std::make_shared<message_definition_t>(message_definition_t{"ls",0x30,"",0,false,message_format_t::STANDARD,frequency_clock_t(5.00000f),true,
+ {std::make_shared<message_definition_t>(message_definition_t{"ls", 0x30,"", 0, false, message_format_t::STANDARD, frequency_clock_t(5.00000f), true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
"hvac.fan.speed",// generic_name
@@ -109,7 +109,7 @@ application_t::application_t()
{
for(std::shared_ptr<message_set_t> cms: message_set_)
{
- std::vector<std::shared_ptr<message_definition_t>> messages_definition = cms->get_messages_definition();
+ vect_ptr_msg_def_t messages_definition = cms->get_messages_definition();
for(std::shared_ptr<message_definition_t> cmd : messages_definition)
{
cmd->set_parent(cms);