From c88f115014d9e75e4d1cc0db9762f11ca8532afb Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 25 Jun 2019 16:24:39 +0200 Subject: Small fixes (include and pointer) Bug-AGL: SPEC-2386 Change-Id: I3a622b9d236283aff479f187451cd86557a9aba7 Signed-off-by: Arthur Guyader Signed-off-by: Stephane Desneux Signed-off-by: Romain Forlot --- low-can-binding/binding/low-can-cb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'low-can-binding/binding/low-can-cb.cpp') diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index ab6210bf..b6a18ebb 100644 --- a/low-can-binding/binding/low-can-cb.cpp +++ b/low-can-binding/binding/low-can-cb.cpp @@ -478,7 +478,7 @@ static int send_frame(struct canfd_frame& cfd, const std::string& bus_name) if( cd.count(bus_name) == 0) {cd[bus_name] = std::make_shared(low_can_subscription_t());} - return cd[bus_name]->tx_send(*cd[bus_name], cfd, bus_name); + return low_can_subscription_t::tx_send(*cd[bus_name], cfd, bus_name); } static void write_raw_frame(afb_req_t request, const std::string& bus_name, json_object *json_value) -- cgit 1.2.3-korg