From b8e9588a9fb64b2e7ef7859ae0ab147c0c92ddda Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 8 Mar 2017 23:46:59 +0100 Subject: Forward declaration needed instead of include the whole file. Lighter. Change-Id: I14af5868679e5c65bda9a4395b040cc28af04059 Signed-off-by: Romain Forlot --- src/can/can-message.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/can') diff --git a/src/can/can-message.hpp b/src/can/can-message.hpp index 6736a9b..fc85ed9 100644 --- a/src/can/can-message.hpp +++ b/src/can/can-message.hpp @@ -22,11 +22,12 @@ #include #include -#include "can/can-bus.hpp" #include "utils/timer.hpp" #define CAN_MESSAGE_SIZE 8 +class can_bus_dev_t; + /** * @enum can_message_format * @brief The ID format for a CAN message. -- cgit 1.2.3-korg