diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-04-17 09:48:28 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-04-17 12:24:23 +0200 |
commit | a4225208ebba54f641176b9ef682ad2c2409ef11 (patch) | |
tree | 012b8f66d0de9c81c60a16fba2d38bdbc6c64b57 | |
parent | d844c48c5f2630bede6e0bbc515f43cae78f5e97 (diff) |
Add boolean to set receive state of diagnostic message.guppy_6.90.0guppy/6.90.0flounder_6.0.5flounder_6.0.4flounder_6.0.3flounder_6.0.2flounder_6.0.1flounder_6.0.0flounder_5.99.7flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder_5.99.1flounder/6.0.5flounder/6.0.4flounder/6.0.3flounder/6.0.2flounder/6.0.1flounder/6.0.0flounder/5.99.7flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.2flounder/5.99.16.90.06.0.56.0.46.0.36.0.26.0.16.0.05.99.75.99.65.99.55.99.45.99.35.99.25.99.1flounder
Add boolean to set receive state at initialisation of a
diagnostic message object.
Bug-AGL: SPEC-1347
Change-Id: I5b9a1367f08441387664cd6d9ff53a1c23d0b4f7
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index d30428e..dad4480 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -203,7 +203,8 @@ std::ostream& operator<<(std::ostream& o, const generator<openxc::diagnostic_mes << v.line_prefix_ << "\t" << gen(v.v_.frequency()) << ",\n"
<< v.line_prefix_ << "\t" << (v.v_.decoder().size() ? v.v_.decoder() : "nullptr") << ",\n"
<< v.line_prefix_ << "\t" << (v.v_.callback().size() ? v.v_.callback() : "nullptr") << ",\n"
- << v.line_prefix_ << "\t" << "true" << "\n"
+ << v.line_prefix_ << "\t" << "true" << ",\n"
+ << v.line_prefix_ << "\t" << "false" << "\n"
<< v.line_prefix_ << "})}\n";
return o;
}
|