From fbd0fb6d5f38f7a12f3bebb4a7fb14bd3e6bfb7c Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Thu, 16 Mar 2017 09:54:02 +0100 Subject: wip: generation of a configuration for can_signaling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I35b31a98e87943a4e2fcad06561fec7a347b8483 Signed-off-by: Loïc Collignon --- src/openxc/diagnostic_message.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openxc/diagnostic_message.cpp') diff --git a/src/openxc/diagnostic_message.cpp b/src/openxc/diagnostic_message.cpp index 44b21c64..3881abef 100755 --- a/src/openxc/diagnostic_message.cpp +++ b/src/openxc/diagnostic_message.cpp @@ -17,7 +17,7 @@ namespace openxc return mode_; } - std::uint32_t diagnostic_message::frequency() const + float diagnostic_message::frequency() const { return frequency_; } @@ -47,7 +47,7 @@ namespace openxc bus_ = j.count("bus") ? j["bus"].get() : ""; id_ = j.count("id") ? j["id"].get() : 0; mode_ = j.count("mode") ? j["mode"].get() : 1; - frequency_ = j.count("frequency") ? j["frequency"].get() : 0; + frequency_ = j.count("frequency") ? j["frequency"].get() : 0; pid_ = j.count("pid") ? j["pid"].get() : 0; name_ = j.count("name") ? j["name"].get() : ""; decoder_ = j.count("decoder") ? j["decoder"].get() : ""; -- cgit 1.2.3-korg