From 94bcc509f0541224303b959cb1d02e6a55478e3b Mon Sep 17 00:00:00 2001 From: Yuichi Kusakabe Date: Fri, 1 Sep 2017 19:34:30 +0900 Subject: 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 --- low-can-binding/binding/low-can-cb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index 5916e392..eb91c214 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 -- cgit 1.2.3-korg