From ef610b379f59f89350f6f9dd8ff11a00066e2c05 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 21 Feb 2017 07:42:46 +0000 Subject: Handle error in returning a vector by returning an empty vector. Fix: typo Change-Id: Ibe859d3e67f6eea96b50e04cd230657be56a18c6 Signed-off-by: Romain Forlot --- src/can-utils.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/can-utils.hpp') diff --git a/src/can-utils.hpp b/src/can-utils.hpp index ee87790e..d1310a6d 100644 --- a/src/can-utils.hpp +++ b/src/can-utils.hpp @@ -49,13 +49,6 @@ extern "C" #define CAN_ACTIVE_TIMEOUT_S 30 -/** - * @brief Function representing thread activated by can bus objects - */ -void can_reader(can_bus_dev_t& can_bus); -void can_decode_message(can_bus_t& can_bus); -void can_event_push(can_bus_t& can_bus); - /** * @brief The type signature for a CAN signal decoder. * @@ -399,3 +392,10 @@ bool isBusActive(can_bus_dev_t* bus); * busCount - the length of the buses array. */ void logBusStatistics(can_bus_dev_t* buses, const int busCount); + +/** + * @brief Function representing thread activated by can bus objects + */ +void can_reader(can_bus_dev_t& can_bus); +void can_decode_message(can_bus_t& can_bus); +void can_event_push(can_bus_t& can_bus); \ No newline at end of file -- cgit 1.2.3-korg