diff --git a/main/can.cpp b/main/can.cpp index ae278ca..ece5146 100644 --- a/main/can.cpp +++ b/main/can.cpp @@ -1,4 +1,5 @@ #include "can.h" +#ifdef FEATURE_CAN // system includes #include @@ -453,3 +454,4 @@ void sendCanCommands() } } // namespace can +#endif diff --git a/main/can.h b/main/can.h index 68e10bc..2aa167c 100644 --- a/main/can.h +++ b/main/can.h @@ -1,4 +1,5 @@ #pragma once +#ifdef FEATURE_CAN // system includes #include @@ -35,3 +36,4 @@ bool tryParseCanInput(); void parseCanInput(); void sendCanCommands(); } // namespace can +#endif