diff options
author | Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> | 2017-09-01 19:34:30 +0900 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-01 13:10:27 +0000 |
commit | 94bcc509f0541224303b959cb1d02e6a55478e3b (patch) | |
tree | 305fb2228d263e00bc91666de0074d71d7f46234 /low-can-binding/binding | |
parent | 795267e2c409a7c268fe0588ad9739b75def7620 (diff) |
Fix write CAN bus name
This patch is low-can write device use /dev/dev-mapping device name.
Change-Id: I165bdbd37a4e988b85f6ad7a669e6b1306957d45
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Diffstat (limited to 'low-can-binding/binding')
-rw-r--r-- | low-can-binding/binding/low-can-cb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index 5916e39..eb91c21 100644 --- a/low-can-binding/binding/low-can-cb.cpp +++ b/low-can-binding/binding/low-can-cb.cpp @@ -451,7 +451,7 @@ static int write_signal(const std::string& name, uint64_t value) if(sig->get_writable()) { cf = encoder_t::build_frame(sig, value); - const std::string bus_name = sig->get_message()->get_bus_name(); + const std::string bus_name = sig->get_message()->get_bus_device_name(); rc = send_frame(bus_name, cf); } else |