From 1b3655d85cfb9cc143c9e7f0d3506e6b004f835e Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 11 Oct 2018 12:25:27 +0200 Subject: Migration to binding v3 Change-Id: I0bcccb15200064bd7d83edbf06c1e7202069189a Signed-off-by: Romain Forlot --- low-can-binding/utils/signals.hpp | 2 +- low-can-binding/utils/socketcan.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'low-can-binding/utils') diff --git a/low-can-binding/utils/signals.hpp b/low-can-binding/utils/signals.hpp index 65316a7d..10cb8ad0 100644 --- a/low-can-binding/utils/signals.hpp +++ b/low-can-binding/utils/signals.hpp @@ -36,7 +36,7 @@ namespace utils std::vector > diagnostic_messages; }; - /// @brief Signal manager singleton hold subscription object with attached afb_event and its mutex + /// @brief Signal manager singleton hold subscription object with attached afb_event_t and its mutex /// to read and write it safely. /// It can be used to browse CAN signals and Diagnostic messages vectors and find a particular signal to /// subscribe to. diff --git a/low-can-binding/utils/socketcan.hpp b/low-can-binding/utils/socketcan.hpp index 40e165bd..a1fdcb58 100644 --- a/low-can-binding/utils/socketcan.hpp +++ b/low-can-binding/utils/socketcan.hpp @@ -65,7 +65,7 @@ namespace utils socketcan_t& operator<<(socketcan_t& s, const T& obj) { if (::sendto(s.socket(), &obj, sizeof(obj), 0, (const struct sockaddr*)&s.get_tx_address(), sizeof(s.get_tx_address())) < 0) - AFB_ERROR("Error sending : %i %s", errno, ::strerror(errno)); + AFB_API_ERROR(afbBindingV3root, "Error sending : %i %s", errno, ::strerror(errno)); return s; } } -- cgit 1.2.3-korg